place.hud.deleteAccountData

Deletes what getAccountData lists, for good: the canvases the person owns, for everyone in them, and their spaces where canvases are kept in spaces; their place in others' canvases and the tiles they put there; their invitations; their tabs; the place.hud.theme records in their repository; and their theme choice. Then every HUD session of theirs ends (web pages, MCP clients and apps), each atproto refresh token revoked at their PDS. Their atproto account, and what other apps keep in it, stay. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin) or an access token of HUD's own app as Bearer: another MCP client's is refused (Forbidden).

Repository @lexicons.hud.place did:plc:3tzbz4pml36u4mkresb6pdhv not from the namespace authority
Details · procedure
Kindprocedure
Authorityhud.place
Commit rev3n3jbje7n4fju
Indexed
cid bafyreibldfypryyvl2d6e5u4dtj35yj73isoyfnhhau5movbivjsic2ari

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Deletes what getAccountData lists, for good: the canvases the person owns, for everyone in them, and their spaces where canvases are kept in spaces; their place in others' canvases and the tiles they put there; their invitations; their tabs; the place.hud.theme records in their repository; and their theme choice. Then every HUD session of theirs ends (web pages, MCP clients and apps), each atproto refresh token revoked at their PDS. Their atproto account, and what other apps keep in it, stay. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin) or an access token of HUD's own app as Bearer: another MCP client's is refused (Forbidden).",
      "errors": [
        {
          "description": "No live web session or HUD access token: sign in.",
          "name": "AuthRequired"
        },
        {
          "description": "The person asking is not the one named, or asks through an MCP client other than HUD's own app.",
          "name": "Forbidden"
        },
        {
          "description": "Something could not be deleted (the message says what): nothing was signed out; calling again carries on.",
          "name": "UpstreamFailure"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "description": "The person whose data goes: the one asking, named again so that no call deletes it by mistake.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "deleted": {
              "description": "How many canvases, records and memberships went.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "deleted"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Delete everything HUD holds of the signed-in person, and sign them out.",
  "id": "place.hud.deleteAccountData",
  "lexicon": 1
}