{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Deletes the dev.knotless.block records of the account logged in to this appview's web pages naming the account, from all its repositories or from the one repository named, as `knotless unblock` does. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account.",
      "errors": [
        {
          "description": "The account is the one asking, or the repository is not its own.",
          "name": "InvalidRequest"
        },
        {
          "description": "No such account.",
          "name": "NotFound"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "ref": "dev.knotless.blockActor#block",
          "type": "ref"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "dev.knotless.blockActor#blockState",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Unblocks an account as the account logged in to this appview's pages.",
  "id": "dev.knotless.unblockActor",
  "lexicon": 1
}
