# Delete an incident update

> Delete an incident update with the Uptenna API. It leaves the status pages at once; a manual incident's open or resolved state follows its latest update.

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

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

Remove an update from the incident and its status pages. A manual incident keeps at least one; its open or resolved state follows its latest update.

## Path parameters

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

## Example request

```bash curl
curl -X DELETE "https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY/updates/upd_Lr7nB2vQx9Ka" \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
```

```js Node.js (fetch)
const res = await fetch("https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY/updates/upd_Lr7nB2vQx9Ka", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.UPTENNA_API_KEY}`,
  },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
```

## Response

Returns **200 OK**.

```json 200 OK
{
  "id": "upd_Lr7nB2vQx9Ka",
  "deleted": true
}
```

## Errors

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

| Status | Code | When |
| --- | --- | --- |
| 409 | `last_update` | It's a manual incident's only update: delete the incident instead. |
| 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. |
