app.tempomusic.staff.unsuspendAccount

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.

Details · procedure
Kindprocedure
Authoritystaff.tempomusic.app
Indexed
cid bafyreif6byhtu53g4e33bay36hp6gmx4shq4yiqr2pplv3bmrzgamyooum

Checks

Valid Lint pass
JSONDownload
{
  "$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
}