discord_delete_invite
Revoke any Discord invite by code or URL to stop unauthorized access. This permanently invalidates the invite and records the reason in the 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 |
|---|---|---|---|
| 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. |