Delete webhook
delete_webhookDelete a Discord webhook with a two-step confirmation: first call returns a preview and token; second call with token completes 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 |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| dry_run | No | ||
| webhook | Yes | Webhook name or ID. | |
| confirm_token | No |