app.tempomusic.staff.banAccount
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Permanently ban an account: all of its content disappears from the public read surface and no surface can lift the state. Escalating an active suspension replaces it. Requires the `superAdmin` role. Writes an `accountBanned` audit row. Federation caveat: the ban blocks this DID — re-registration under a fresh DID is structurally possible in AT Protocol.",
"errors": [
{
"description": "The caller is not a super-admin.",
"name": "Forbidden"
},
{
"description": "The account is already banned.",
"name": "AccountAlreadyBanned"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"closeAttachedReports": {
"default": false,
"description": "Same semantics as suspendAccount: closes `open`/`underReview` reports against the ACCOUNT subject in the same transaction, with linked `reportClosedByCascade` audit rows. Reports against individual posts/replies stay open.",
"type": "boolean"
},
"did": {
"format": "did",
"type": "string"
},
"notifyUser": {
"default": false,
"description": "When true, persist a moderation notice addressed to the affected user (content author or account holder). Delivery is out of scope.",
"type": "boolean"
},
"reason": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
}
},
"required": [
"did",
"reason"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"attachedReportsClosed": {
"description": "Number of account-subject reports auto-closed in this transaction. Zero when closeAttachedReports=false or none were open.",
"minimum": 0,
"type": "integer"
},
"auditEntryId": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"auditEntryId",
"attachedReportsClosed"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.tempomusic.staff.banAccount",
"lexicon": 1
}
Metadata
- DID
-
did:plc:pxsuqmultto34oks44m2lgxm - CID
-
bafyreibkhvi36qljfsp2ltyt6wo3dh5eu3ycqse5xmnctjacs2kea6cm54 - Indexed At
- 2026-08-24 09:06 UTC
- AT-URI
-
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.staff.banAccount
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.tempomusic.staff.suspendAccount procedure
Suspend an account: all of its content disappears from the public read surface (feeds, single fetches, threads, notifications) while the row is active. Reversible via unsuspendAccount; optionally time-boxed via `until` …
-
app.tempomusic.staff.takedownSubject procedure
Flip `moderation_status` on a subject row to a non-zero takedown class. Read paths immediately refuse to serve the subject (404 on getPost / getReply / actor reads). Re-takedown against an already-taken-down subject is …
-
app.tempomusic.staff.unsuspendAccount procedure
Lift an account suspension: deletes the current state row (history stays in the audit log) and instantly readmits the account's content on the public surface. Also accepts a LAPSED suspension (removes the stale row). Ca…
-
Current account-level moderation state of a DID (suspension or ban), or an empty object when the account is unrestricted. A lapsed suspension is reported with its (past) `until` — interpretation is the caller's. Requi…
-
App-wide suspension: the subject account cannot submit native Questions on Askimut.