app.tempomusic.actor.deleteAccount

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 days and call restoreAccount to undo. After 30 days the account is hard-deleted irreversibly and the content is anonymised. See ADR-009 for the full retention lifecycle.

Details · procedure
Kindprocedure
Authorityactor.tempomusic.app
Indexed
cid bafyreidrj3utyvibyhngkl4sbagt73zgn6n5uf637gzcfg6kxlu4nut6vq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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 days and call restoreAccount to undo. After 30 days the account is hard-deleted irreversibly and the content is anonymised. See ADR-009 for the full retention lifecycle.",
      "errors": [
        {
          "description": "The viewer's profile is already in the soft-deleted state. Call restoreAccount first if the intent was to extend the window, or wait for the 30-day hard-delete.",
          "name": "AlreadyDeleted"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "viewer": {
            "description": "DID of the requesting viewer whose account is being deleted. Must match the authenticated principal.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "viewer"
        ],
        "type": "params"
      },
      "type": "procedure"
    }
  },
  "id": "app.tempomusic.actor.deleteAccount",
  "lexicon": 1
}