Skip to content

Restore a discarded downtime

POST
/organizations/{org_id}/incidents/{incident_id}/restore-downtime
curl --request POST \
--url https://api.perstat.io/organizations/example/incidents/example/restore-downtime \
--header 'Authorization: Bearer <token>'

Reverts a previously discarded downtime so it counts again toward uptime, daily bars, and status pages. Requires an owner or admin role; returns 409 when the downtime is not currently discarded. The action is written to the activity log.

org_id
required
string
incident_id
required
string