{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Retired (Linking v2): the platform no longer serves it, and no client should call it. An account leaves its person with identity.manageMethods `unlink` now. Kept so the name and its shapes stay published. It was: end an alias link: deletes the caller's pub.techne.draft.accountLink naming `other`, and the other account's too when this host holds it, and removes the `alsoKnownAs` entries the link added (signed here, or by the identity PDS for accounts it made).",
      "errors": [
        {
          "description": "No signed-in caller.",
          "name": "AuthenticationRequired"
        },
        {
          "description": "The caller has no link to `other`.",
          "name": "NotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "other": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "other"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "ok": {
              "type": "boolean"
            }
          },
          "required": [
            "ok"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "pub.techne.draft.identity.unlinkAccount",
  "lexicon": 1
}
