app.tempomusic.actor.restoreAccount

lexicons.tempomusic.fan

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Restore the requesting viewer's previously soft-deleted account. Clears deleted_at on the profile and unconditionally on every post, reply and like owned by the viewer (including content the viewer soft-deleted individually before the account cascade). Moderation-held content stays in moderation hold. Only valid within the 30-day restoration window opened by deleteAccount; outside the window the profile has been hard-deleted and the cascade content is anonymised, so restoration is impossible. See ADR-009 for the full retention lifecycle.",
      "errors": [
        {
          "description": "The 30-day restoration window has elapsed since deleteAccount was called. The profile has been hard-deleted and cannot be restored.",
          "name": "ExpiredWindow"
        },
        {
          "description": "The viewer's profile is not in the soft-deleted state; nothing to restore.",
          "name": "NotDeleted"
        },
        {
          "description": "TEM-518: the soft deletion originated from a PDS-direct account destruction (self-service PDS account page). The AT Protocol repo no longer exists upstream, so restoring the appview projection would resurrect an orphan; the deletion proceeds to the day-30 hard delete.",
          "name": "NotRestorable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "viewer": {
            "description": "DID of the requesting viewer whose account is being restored. Must match the authenticated principal.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "viewer"
        ],
        "type": "params"
      },
      "type": "procedure"
    }
  },
  "id": "app.tempomusic.actor.restoreAccount",
  "lexicon": 1
}

Validate Record

Validate a record against app.tempomusic.actor.restoreAccount

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

  • Schedule the requesting viewer's account for deletion. Soft-deletes the profile and cascades soft-delete on every post, reply and like owned by the viewer in a single transaction. The viewer can log back in within 30 da…

  • Return the requesting viewer's account-deletion state so the client's bootstrap gate can decide between showing the app, the dated restoration screen, or the terminal 'window passed' variant (TEM-492). The viewer DID is…

  • Restore an account to active.

Lexicon Garden

@