delete_webhook_with_token
Permanently removes a Discord webhook by authenticating with its ID and token. Use it to revoke an exposed or unused webhook and optionally record a reason in the audit log.
Instructions
Delete Webhook with Token. [DELETE /webhooks/{webhook_id}/{webhook_token}]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"webhook_id": "<webhook_id>",
"webhook_token": "<webhook_token>"
},
"name": "delete_webhook_with_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason (shown in the audit log) | |
| webhook_id | Yes | Webhook ID | |
| webhook_token | Yes | Webhook token |