# dev.knotless.removeReaction

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

✓ This is the authoritative definition for this NSID.

## Description

Takes a reaction back as the account logged in to this appview's pages.

## Links

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

## Definitions

### `dev.knotless.removeReaction`

**Type**: `procedure`

Deletes every dev.knotless.reaction record naming the subject with the content in the account logged in to this appview's web pages. Requires the session cookie the pages' login sets.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `content` | `ref` → `dev.knotless.defs#reactionContent` | Yes |  |
| `repo` | `string` (at-uri) | Yes | The repository's dev.knotless.repo record, as dev.knotless.getThread takes it. |
| `subject` | `string` (at-uri) | Yes | The dev.knotless.pull, dev.knotless.issue or dev.knotless.comment record on that repository. |

#### Output

**Encoding**: `application/json`

#### Errors

- **NotFound**: No such public repository, or no such pull, issue or comment on it.
- **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 every dev.knotless.reaction record naming the subject with the content in the account logged in to this appview's web pages. Requires the session cookie the pages' login sets.",
      "errors": [
        {
          "description": "No such public repository, or no such pull, issue or comment on it.",
          "name": "NotFound"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "content": {
              "ref": "dev.knotless.defs#reactionContent",
              "type": "ref"
            },
            "repo": {
              "description": "The repository's dev.knotless.repo record, as dev.knotless.getThread takes it.",
              "format": "at-uri",
              "type": "string"
            },
            "subject": {
              "description": "The dev.knotless.pull, dev.knotless.issue or dev.knotless.comment record on that repository.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "subject",
            "content"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "dev.knotless.defs#reactionState",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Takes a reaction back as the account logged in to this appview's pages.",
  "id": "dev.knotless.removeReaction",
  "lexicon": 1
}
```
