Skip to main content

Overview

Moves an incident through its lifecycle. Allowed transitions: Any other transition, including setting the current status again, is rejected. The user making the request is recorded as the assignee unless you pass assignee_id. PUT /api/incidents/{id}/status

Authentication

X-API-Key: YOUR_API_KEY (read_write scope) or Authorization: Bearer YOUR_JWT. Requires the can_manage_incidents permission.

Request body

Example

Response

200 OK
data.incident is the full incident object. data.recovery_time_seconds is present when the change resolved the incident.

Errors

Invalid transition:
Other messages: Incident is already in status: open and Cannot transition incident from 'closed' to 'open'. Incident is in final state and cannot be modified.