# dev.knotless.unblockActor

> Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk)

✓ This is the authoritative definition for this NSID.

## Description

Unblocks an account as the account logged in to this appview's pages.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.unblockActor)
- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.unblockActor/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.unblockActor/examples)

## Definitions

### `dev.knotless.unblockActor`

**Type**: `procedure`

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.

#### Input

**Encoding**: `application/json`

#### Output

**Encoding**: `application/json`

#### Errors

- **InvalidRequest**: The account is the one asking, or the repository is not its own.
- **NotFound**: No such account.
- **AuthenticationRequired**: No account is logged in to the pages, or its session has ended.

## Raw Schema

```json
{
  "$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
}
```
