webhooks_delete_message
Delete a previously sent webhook message to retract stale alerts or accidentally posted content. This action is permanent and irreversible.
Instructions
Purpose: Delete a message previously sent by this webhook. DESTRUCTIVE - IRREVERSIBLE.
When to use:
Retract a stale alert or accidentally posted content.
Auth: NO Authorization: Bot … header. No audit_reason (Discord ignores it on token routes).
Returns: {deleted, message_id}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Webhook secret - treat as credential, do not log | |
| __confirm | No | Set true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned. | |
| thread_id | No | Query param: thread the message lives in | |
| message_id | Yes | Message to delete | |
| webhook_id | Yes | Webhook id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||