cURL
curl --request PUT \ --url https://api.togai.com/incidents/{incident_id}/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "status": "CLOSE" }'
{ "id": "incident.1zYnCiM9Bpg.lv25y", "alertTemplateId": "abcd-efgh-ijkl-mnop", "alertId": "alert.1zYnCiM9Bpg.lv25y", "alertVersion": 1, "validUntil": "2020-01-01T00:00:00Z", "reportData": { "usageValue": 10 }, "status": "ACTIVE", "createdAt": "2020-01-01T00:00:00Z", "updatedAt": "2020-01-01T00:00:00Z" }
Update an incident status
CLOSED
Show child attributes