# Remove a reaction

> Remove a reaction

**DELETE** `/api/public/apps/v1/reactions`

Needs the `reactions:write` permission.

## Parameters

| Name | In | Required | Meaning |
| --- | --- | --- | --- |
| `message_id` | query | yes | uuid |
| `emoji` | query | yes | string |

## Example

**curl**

```sh
curl -X DELETE "https://amedeus.app/api/public/apps/v1/reactions?message_id=…&emoji=…" \
  -H "Authorization: Bearer $TOKEN"
```

**JavaScript**

```js
const response = await fetch("https://amedeus.app/api/public/apps/v1/reactions?message_id=…&emoji=…", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${process.env.TOKEN}` },
});
const result = await response.json(); // { ok: true, … } or { ok: false, error, message }
```

**Python**

```python

request = urllib.request.Request(
    "https://amedeus.app/api/public/apps/v1/reactions?message_id=…&emoji=…",
    headers={
        "Authorization": f"Bearer {os.environ['TOKEN']}",
        "User-Agent": "my-app/1.0",
    },
    method="DELETE",
)
with urllib.request.urlopen(request) as response:
    result = json.load(response)  # a 4xx or 5xx raises urllib.error.HTTPError
```

## Response

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| `ok` | `true` | yes |  |

```json
{
  "ok": true
}
```

## Errors

Failures answer `{ "ok": false, "error": "<code>", "message": "…" }`; see [Errors](/reference/errors/).

- `401`: The token is missing, wrong or revoked.
- `403`: A missing scope (the message names it), or a channel the app isn't in.
- `404`: The message or channel doesn't exist.
- `429`: Slow down; `Retry-After` says for how many seconds.

