discord_delete_invite
Revoke a Discord invite by its code to prevent further use. Requires Manage Channels permission; irreversible and recorded in audit log.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invite_code | Yes | The invite code to revoke. A full discord.gg/<code> URL is also accepted. | |
| reason | No | Optional reason recorded in the server audit log. |