Update an existing monitor. Send the full monitor payload, including key fields and all required fields for that type. The example below uses monitor_type http.
| Method | POST |
| Url | https://downdar.com/api/v1/monitors/update |
guid
key
|
Monitor id. |
monitor_type
key
|
http, ping, tcp, ssl, or dns. Together with guid, identifies the monitor to update. |
name
req
|
String, max 255 characters. |
interval_seconds
req
|
60, 300, 600, 900, 1800, 3600, 7200, 86400 |
region_mode
opt
|
rotate (default), selected |
region_ids
opt
|
Array of region id integers. Required when region_mode is selected. |
group_id
opt
|
Integer group id, or omit for none. |
tag_ids
opt
|
Array of integer tag ids. |
alert_channel_keys
opt
|
Array of alert channel key strings. Omit to keep current channels; send [] to clear all. |
url
req
|
HTTP or HTTPS URL, max 2048 characters. |
method
opt
|
GET (default), POST |
expected_status
opt
|
Integer HTTP status code, 100-599. Defaults to 200. |
host
req
|
Hostname or IP address. |
host
req
|
Hostname or IP address. |
port
req
|
Integer, 1-65535. |
host
req
|
Hostname or IP address. |
hostname
req
|
Hostname to look up. |
record_type
opt
|
A (default), AAAA, CNAME, MX, NS, TXT, PTR |
ok
|
Always true on success. |
monitor
|
Full monitor object. Fields below apply to monitor. |
capacity
|
Monitor quota for the account. Fields below apply to capacity. |
rate_limit
|
Rate limit state for the tier this endpoint consumes. Present on every successful response. |
guid
|
Monitor id. |
monitor_type
|
http, ping, tcp, ssl, or dns. |
name
|
String, max 255 characters. |
interval_seconds
|
60, 300, 600, 900, 1800, 3600, 7200, 86400. |
region_mode
|
rotate or selected. |
region_ids
|
Array of region id integers when region_mode is selected. |
group_id
|
Integer group id, or 0 for none. |
tag_ids
|
Array of integer tag ids. |
alert_channel_keys
|
Array of alert channel key strings. |
paused
|
true when checks are paused. |
url
|
HTTP or HTTPS URL, max 2048 characters. |
method
|
GET or POST. |
expected_status
|
Integer HTTP status code, 100-599. |
host
|
Hostname or IP address. |
host
|
Hostname or IP address. |
port
|
Integer, 1-65535. |
host
|
Hostname or IP address. |
hostname
|
Hostname to look up. |
record_type
|
A, AAAA, CNAME, MX, NS, TXT, or PTR. |
limit
|
Maximum monitors allowed on your plan. |
used
|
Monitors currently in use. |
remaining
|
Monitors you can still create. |
tier
|
Rate tier this endpoint counts against (1-5). |
cost
|
Units consumed by this request against the tier window. |
timeframe
|
Rolling limit window: second, minute, hour, or day. |
limit
|
Maximum units allowed in the timeframe for this tier on your plan. |
used
|
Units already used in the current window. |
remaining
|
Units left before this tier returns HTTP 429. |