guild_delete_integration
Remove a third-party integration from a Discord guild. This destructive action also disconnects associated webhooks and requires explicit confirmation to proceed.
Instructions
Purpose: Delete an integration from a guild. DESTRUCTIVE - also disconnects associated webhooks.
When to use:
Remove a stale or compromised third-party integration.
Returns: {deleted, integration_id, guild_id}.
Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Guild containing the integration | |
| __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. | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) | |
| integration_id | Yes | Integration to delete (IRREVERSIBLE) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||