API reference

Delete an incident

Delete a manual incident and its updates from your Uptenna status page with the API. Incidents opened by a monitor's checks can't be deleted.

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

Remove a manual incident and its updates from the status page. Automatic incidents can't be deleted: they're the monitor's history.

Path parameters

NameTypeRequiredDescription
idstringyesThe incident's id (inc_…).

Example request

curl
curl -X DELETE "https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY" \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
Node.js (fetch)
const res = await fetch("https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY", {
  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": "inc_W3p8Zq1MvRtY",
  "deleted": true
}

Errors

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

StatusCodeWhen
409automatic_incidentThe incident comes from a monitor's checks: only manual incidents can be changed or deleted.
404not_foundNo incident with this id in your account.
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.