Request
Path Parameters
uuidstringrequired
The unique identifier of the monitor to update
Example:"mon_3GhAQMYGEQuyUH"
Bodyapplication/json
namestringoptional
Pronounceable name of the monitor
urlstringoptional
The URL of your website or host
protocolenum<string>optional
Type of monitor
dns_record_typeenum<string>optional
DNS record type (A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, CAA, PTR). Only used when protocol is
dnsdns_nameserverstringoptional
Nameserver to query against. Only used when protocol is
dnsdns_expected_answerstringoptional
Expected DNS answer to validate against. Only used when protocol is
dnsregionsarray<string>optional
Array of region names to monitor from
check_frequencynumberoptional
Check frequency in seconds
http_methodenum<string>optional
HTTP method for the request
request_bodystringoptional
Request body for POST, PUT, PATCH requests
request_headersarray<object>optional
Array of objects with
name and value for custom headersfollow_redirectsbooleanoptional
Whether to follow HTTP redirects
portnumberoptional
Port number to check. Required if protocol is
portexpected_status_codestringoptional
Expected HTTP status code. Use
"2xx" for 200-299, "1xx-3xx" for 100-399, or a specific code like "200".Example:"2xx"
required_keywordstringoptional
Triggers downtime if body response is missing this keyword
pausedbooleanoptional
Whether the monitor should be paused
alerts_waitnumberoptional
Minutes to wait before sending alerts. Use
-1 to disable alerts.ssl_alert_daysnumberoptional
Days before the TLS certificate expires to send the first expiry alert.
-1 = never. When omitted on create, the default applies.ssl_remindersbooleanoptional
Also remind at each step below the threshold (30, 15, 7, 3 and 1 days). Default
true.ssl_notify_on_changebooleanoptional
Notify when the server starts serving a different certificate. Default
false.domain_alert_daysnumberoptional
Days before the domain registration expires to alert.
-1 = never (default for monitors created through the API).escalation_policystringoptional
Policy UUID to link. Send
null or "none" to unlink.Example:"policy_123abc"
Response
Returns the updated monitor object.