Skip to main content
PATCH
/
uptime-monitors
/
{id}
curl -X PATCH "https://kodostatus.com/api/v1/uptime-monitors/mon_abc123" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "interval_seconds": 600
  }'
{
  "id": "uuid",
  "enabled": false,
  "interval_seconds": 600
}

Path Parameters

id
string
required
The monitor ID

Body Parameters

name
string
Updated monitor name
url
string
Updated URL to monitor
enabled
boolean
Enable or disable the monitor
interval_seconds
integer
Updated check interval

Response

Returns the updated monitor object.
curl -X PATCH "https://kodostatus.com/api/v1/uptime-monitors/mon_abc123" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "interval_seconds": 600
  }'
{
  "id": "uuid",
  "enabled": false,
  "interval_seconds": 600
}