discord_delete_invite
Revoke a Discord invite code to make it unusable, with an optional audit-log reason. Requires Manage Channels or Manage Server; revocation is irreversible.
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 |
|---|---|---|---|
| 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. |