Directus / @directus/sdk / rest / deleteWebhook
Function: deleteWebhook() ​
deleteWebhook<
Schema
>(key
):RestCommand
<void
,Schema
>
Delete an existing webhook.
Type parameters ​
• Schema
Parameters ​
• key: DirectusWebhook
<Schema
>["id"
]
Returns ​
RestCommand
<void
, Schema
>
Throws ​
Will throw if key is empty