Show Developer Menu

PUT /incidents/{identifier}

Issuing a PUT call to a specific incident will allow you to update the incident. This is also how you'll be able to add new incident updates to the specific incident.

Example Request
curl 'https://{brand}.reamaze.io/api/v1/incidents/{identifier}' \
  -u {login-email}:{api-token} \
  -H 'Accept: application/json' \
  -H 'Content-type: application/json' \
  -X POST -d '{ "incident": { "title": "Shipment issues", "updates_attributes": [{ "status": "resolved", "message": "Currently having an issue with shipments" }], "incidents_systems_attributes": [{ "id": "{incident-system-identifier}", "system_id": "{system-id}", "status": "operational" }] } }'
Response

A successful request will return the JSON for the updated incident.

A failed request will return an HTTP 422 Unprocessable Entity with the JSON body explaining the error.