Update incident status
Updates an incident status. Valid statuses: open, acknowledged, resolved.
PATCH
https://api.uptimetea.com/incidents/:idHeaders
AuthorizationREQUIRED
STRING
Bearer $TOKENContent-TypeREQUIRED
STRING
application/jsonResponse body
{
"id": "uuid",
"watcher_id": "uuid",
"watcher": {
"id": "uuid",
"title": "My Website",
"url": "https://example.com",
"category": "uptime"
},
"status": "resolved",
"description": "Website monitor 'My Website' is down",
"started_at": "2024-01-15T10:00:00Z",
"acknowledged_at": "2024-01-15T10:05:00Z",
"resolved_at": "2024-01-15T11:00:00Z",
"duration": 3600,
"created_at": "2024-01-15T10:00:00Z"
}Code Examples
curl -X PATCH "https://api.uptimetea.com/incidents/<incident_id>" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"incident": {
"status": "resolved"
}
}'