Monitors API
Update a monitor
Update monitor configuration. Only provided fields are changed.
Authorization
bearerAuth AuthorizationBearer <token>
CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.
In: header
Path Parameters
id*string
Monitor ID
Format
uuidRequest Body
application/json
name?string
target?string
Format
urifrequencyMinutes?integer
timeout?integer
method?string
active?boolean
Response Body
application/json
application/json
application/json
curl -X PATCH "https://demo.supercheck.dev/api/monitors/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"target": "http://example.com",
"type": "http_request",
"status": "up",
"frequencyMinutes": 0,
"timeout": 0,
"method": "string",
"active": true,
"lastCheckAt": "2019-08-24T14:15:22Z",
"responseTime": 0,
"createdAt": "2019-08-24T14:15:22Z"
}{
"error": "Unauthorized"
}{
"error": "Not found"
}