discord_delete_invite
Revoke a Discord invite by its code to prevent further use. Optionally record a 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. |