Skip to content

Function: deleteWebhook() ​

ts
function deleteWebhook(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/server/api/webhooks.ts:104

Unregisters a webhook. Requires administrator permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ webhookId: number; }-
parameters.webhookIdnumberThe id of the webhook.
options?RequestOptions-

Returns ​

Promise<void>