com.atproto.admin.disableInviteCodes

Disable some set of codes and/or all codes associated with a set of users.

Details · procedure
Kindprocedure
Authorityadmin.atproto.com
Indexed

Procedure

procedure · POST

Input

application/json
itemsstring

codes

array
itemsstring

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Disable an account from receiving new invite codes, but does not invalidate existing codes.

  • Disable one or more PDS invite codes (TEM-502). Requires the caller to have the `superAdmin` role. Codes are provided as suffix-only strings; the handler re-prepends the env prefix stored under `APPVIEW_PDS_INVITE_CODE_PREFIX` before calling `com.atproto.admin.disableInviteCodes`. On success, writes one `inviteCodeDisabled` audit row per code (payload = SHA-256 hash of the suffix, never the plain code).

  • Re-enable an account's ability to receive invite codes.

  • Create invite codes.