invites_delete
Revoke a Discord invite by its code to block access from compromised or over-shared links. The action is permanent and irreversible.
Instructions
Purpose: Revoke a Discord invite by code. DESTRUCTIVE - IRREVERSIBLE.
When to use:
Cut off an over-shared or compromised invite link.
When NOT to use:
To rotate without disrupting access → create a new invite first, then delete the old one.
Returns: {deleted, code}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Invite code to revoke | |
| __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) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||