app.tempomusic.staff.disableInviteCodes
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "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).",
"errors": [
{
"description": "The caller is not a super-admin.",
"name": "Forbidden"
},
{
"description": "`codes` is empty.",
"name": "InvalidRequest"
},
{
"description": "The PDS returned a transient failure — nothing is audited locally, retry.",
"name": "PdsUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"codes": {
"description": "Suffix-only invite codes to disable. The env prefix is re-prepended by the handler before the PDS call.",
"items": {
"maxLength": 128,
"type": "string"
},
"minLength": 1,
"type": "array"
}
},
"required": [
"codes"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.tempomusic.staff.disableInviteCodes",
"lexicon": 1
}
Metadata
- DID
-
did:plc:pxsuqmultto34oks44m2lgxm - CID
-
bafyreiaak235a35fzinmjyy5ikv24lhplx4jyy4ydepjemo5m5klh7wdeq - Indexed At
- 2026-08-24 09:06 UTC
- AT-URI
-
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.staff.disableInviteCodes
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.atproto.admin.disableInviteCodes procedure
Disable some set of codes and/or all codes associated with a set of users.
-
List PDS invite codes on-demand via the PDS (`com.atproto.admin.getInviteCodes`). No local mirror — the source of truth is the PDS. Requires the caller to have the `superAdmin` role. Codes are returned as suffix-only …
-
app.tempomusic.staff.createInviteCode procedure
Generate a batch of single-use PDS invite codes (TEM-502). Requires the caller to have the `superAdmin` role. Each call requests `quantity` codes from the PDS (`com.atproto.server.createInviteCode` with `useCount=1`), w…
-
com.atproto.admin.disableAccountInvites procedure
Disable an account from receiving new invite codes, but does not invalidate existing codes.
-
app.tempomusic.staff.revokeStaffRole procedure
Mark a moderator row as revoked. The DID can no longer pass the moderator gate (latency = the moderator-cache TTL, default 30s). Requires the caller to have the `superAdmin` role. A super-admin cannot revoke themselves.…