Delete invite
delete_inviteRevoke a Discord invite link safely with a preview step to avoid mistakes. Confirm with a token to complete.
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 |