Skip to main content
PATCH
/
services
/
{id}
curl -X PATCH "https://kodostatus.com/api/v1/services/svc_abc123" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "status": "degraded" }'
{
  "id": "uuid",
  "name": "API Gateway",
  "status": "degraded"
}

Path Parameters

id
string
required
The service ID

Body Parameters

name
string
Updated service name
description
string
Updated description
status
string
New status: operational, degraded, partial_outage, major_outage, maintenance

Response

Returns the updated service object.
curl -X PATCH "https://kodostatus.com/api/v1/services/svc_abc123" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "status": "degraded" }'
{
  "id": "uuid",
  "name": "API Gateway",
  "status": "degraded"
}