API reference

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.

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

NameTypeRequiredDescription
idstringyesThe incident's id (inc_…).
update_idstringyesThe update's id (upd_…).

Example request

curl
curl -X DELETE "https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY/updates/upd_Lr7nB2vQx9Ka" \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
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.

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

Errors

Errors look like { "error": { "code", "message" } } (see Errors).

StatusCodeWhen
409last_updateIt's a manual incident's only update: delete the incident instead.
404not_foundNo update with this id on this incident.
401unauthorizedThe Authorization header is missing, malformed, or the key is unknown or revoked.
429rate_limitedMore than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.