# Edit an incident update

> Edit the message of an incident update with the Uptenna API to fix a typo or add detail. The status stays the same and nothing is emailed again.

Source: https://uptenna.com/docs/api-update-incident-update  
Markdown: https://uptenna.com/docs/api-update-incident-update.md

`PATCH https://uptenna.com/v1/incidents/{id}/updates/{update_id}`

Fix an update's message. Its status can't change (post a new update), and the edit isn't emailed again.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The incident's id (`inc_…`). |
| `update_id` | string | yes | The update's id (`upd_…`). |

## Request body

JSON. Every field is optional: send only what changes.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string | yes | Plain text, up to 1000 characters. |

## Example request

```bash curl
curl -X PATCH "https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY/updates/upd_Lr7nB2vQx9Ka" \
  -H "Authorization: Bearer $UPTENNA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message":"Some customers see slow dashboard loads in Europe. We're looking into it."}'
```

```js Node.js (fetch)
const res = await fetch("https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY/updates/upd_Lr7nB2vQx9Ka", {
  method: "PATCH",
  headers: {
    Authorization: `Bearer ${process.env.UPTENNA_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"message":"Some customers see slow dashboard loads in Europe. We're looking into it."}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const incident = await res.json();
```

## Response

Returns **200 OK** with the [incident object](https://uptenna.com/docs/api-objects#incident).

```json 200 OK
{
  "id": "inc_W3p8Zq1MvRtY",
  "kind": "manual",
  "status": "open",
  "severity": "degraded",
  "title": "Slow dashboard",
  "impact": "degraded",
  "monitor_id": null,
  "monitor_name": null,
  "status_page_id": "sp_Hn4c7VtQ1wXa",
  "monitor_ids": [
    "mon_Xk3v9QmT2bLp"
  ],
  "reason": null,
  "reason_text": null,
  "status_code": null,
  "started_at": "2026-12-01T10:05:00.000Z",
  "resolved_at": null,
  "updates": [
    {
      "id": "upd_Lr7nB2vQx9Ka",
      "status": "investigating",
      "message": "Some customers see slow dashboard loads in Europe. We're looking into it.",
      "created_at": "2026-12-01T10:05:00.000Z",
      "updated_at": "2026-12-01T10:07:12.000Z"
    }
  ]
}
```

## Errors

Errors look like `{ "error": { "code", "message" } }` (see [Errors](https://uptenna.com/docs/api#errors)).

| Status | Code | When |
| --- | --- | --- |
| 400 | `invalid_update` | `status` or `message` is missing or invalid. |
| 404 | `not_found` | No update with this id on this incident. |
| 401 | `unauthorized` | The Authorization header is missing, malformed, or the key is unknown or revoked. |
| 429 | `rate_limited` | More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds. |
