app.tempomusic.staff.unsuspendAccount

lexicons.tempomusic.fan

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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). Cannot lift a ban. Requires the `moderator` role. Writes an `accountUnsuspended` audit row.",
      "errors": [
        {
          "description": "The caller is not an active moderator.",
          "name": "Forbidden"
        },
        {
          "description": "No suspension exists for this account.",
          "name": "AccountNotSuspended"
        },
        {
          "description": "The account is banned — a ban cannot be lifted.",
          "name": "AccountBanned"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "reason": {
              "maxLength": 2000,
              "type": "string"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "auditEntryId": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "auditEntryId"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.tempomusic.staff.unsuspendAccount",
  "lexicon": 1
}

Validate Record

Validate a record against app.tempomusic.staff.unsuspendAccount

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pxsuqmultto34oks44m2lgxm
CID
bafyreif6byhtu53g4e33bay36hp6gmx4shq4yiqr2pplv3bmrzgamyooum
Indexed At
2026-08-24 09:06 UTC
AT-URI
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.staff.unsuspendAccount

Similar Lexicons

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

  • 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` …

  • Flip `moderation_status` back to 0 on a previously taken-down subject row. Writes a `subjectRestore` audit row. Trivially symmetric with takedownSubject — both act on the subject row only; lifting an account-wide sanc…

  • 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 `accountBa…

  • 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…

  • 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.…

Lexicon Garden

@