> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# deleteReaction

> Remove an emoji reaction from a post or comment. On the public API, removing a
reaction from a post requires the `write:posts` or `host:write:network_posts`
OAuth scope; removing one from a comment requires `write:comments` or
`host:write:network_posts`.



**mutation** `deleteReaction(input: DeleteReactionInput!): DeleteReactionPayload`

## Arguments

**`input`**: `DeleteReactionInput!` (required)

Parameters for DeleteReaction

## Returns

`DeleteReactionPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`deletedId`**: `ID`

GlobalID of the deleted reaction

---

**`errors`**: `[String!]!`

## Examples

```graphql Mutation
mutation DeleteReaction($input: DeleteReactionInput!) {
  deleteReaction(input: $input) {
    clientMutationId
    deletedId
    errors
  }
}
```

```json Variables
{
  "input": {
    "emoji": "string",
    "targetId": "id"
  }
}
```

```json Response
{
  "data": {
    "deleteReaction": {
      "clientMutationId": "string",
      "deletedId": "id",
      "errors": [
        "string"
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.