discord_delete_invite
Revoke a Discord invite code to prevent further use; this is irreversible, records an optional audit-log reason, and requires Manage Channels or Manage Server.
Instructions
Revoke an invite by its code so it can no longer be used. IRREVERSIBLE (the code is freed). Requires the Manage Channels permission (or Manage Server). The reason is recorded in the audit log. Find codes with discord_list_invites.
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": {
"invite_code": "<invite_code>"
},
"name": "discord_delete_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the server audit log. | |
| invite_code | Yes | The invite code to revoke. A full discord.gg/<code> URL is also accepted. |