Delete invite
delete_inviteRevoke a Discord invite link. Preview the effect first, then confirm with a token to complete revocation.
Instructions
Revoke an invite link. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token revokes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The invite code to revoke. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| dry_run | No | ||
| confirm_token | No |