Delete webhook
delete_webhookDelete a webhook to stop ongoing posts. Preview action first, then confirm with token to complete deletion.
Instructions
Delete a webhook. Anything still posting through it stops working. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook | Yes | Webhook name or ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| dry_run | No | ||
| confirm_token | No |