Skip to content

invite_delete

Delete an invite code. Use it to revoke a code early or to clear out expired and used-up codes, which the server keeps until someone deletes them.

{ "cmd": "invite_delete", "code": "3F9A1C7E52B4" }
Field Type Required Description
code string Yes The invite code. The server trims it and uppercases it before looking it up.
{ "cmd": "invite_delete", "code": "3F9A1C7E52B4", "deleted": true }

The deletion is recorded in the audit log. Nobody else is notified.

Users who already redeemed the code stay on the whitelist. Remove them with whitelist_remove.

Requires manage_access. A user in timeout gets a rate_limit frame instead.

val When
Invite not found No invite has that code, or the server couldn’t save the change.

A missing or empty code returns the schema validator’s message.