Monitors
Update a monitor
Changed onpatch/monitors/{id}
Request
- Base URLhttps://api.uptimerobot.com/v3
- URLhttps://api.uptimerobot.com/v3/monitors/{id}
- AuthHTTP bearer
Path parameters
idnumber required
Request body
Example request
{
"friendlyName": "My monitor",
"url": "http://test.com",
"type": "HTTP",
"portAlertCondition": "CLOSED",
"keywordType": "ALERT_EXISTS",
"interval": 60,
"timeout": 30,
"gracePeriod": 300,
"httpUsername": "admin",
"httpPassword": "password",
"httpMethodType": "HEAD",
"authType": "NONE",
"assignedAlertContacts": [
{
"alertContactId": 12345,
"threshold": 5,
"recurrence": 30
}
],
"successHttpResponseCodes": [
"2xx",
"3xx"
],
"tagNames": [
"tag1",
"tag2"
],
"maintenanceWindowsIds": [
123,
234
],
"regionalData": "na",
"regionData": {
"THRESHOLD": {
"na": 5000,
"eu": 6000,
"as": 7000,
"oc": 8000
}
},
"groupId": 10,
"customFields": {
"environment": "production",
"team": "platform"
},
"config": {
"sslExpirationPeriodDays": [
7,
14,
30
],
"apiAssertions": {
"logic": "AND",
"checks": [
{
"property": "$.data.status",
"comparison": "equals"
}
]
},
"ipVersion": "ipv4Only",
"applicationErrorRetries": 1,
"dependency": {
"providerUrlname": "stripe",
"trackedComponentIds": [
555,
556
]
}
}
}Response
Changes
- warning
added the new
027-016enum value to theresponse property for the response status
- warning
- warning
added the new
004-048enum value to theresponse property for the response status - warning
added the new
011-034enum value to theresponse property for the response status - warning
added the new
031-001enum value to theresponse property for the response status - warning
added the new
031-002enum value to theresponse property for the response status - warning
added the new
031-003enum value to theresponse property for the response status - warning
added the new
031-004enum value to theresponse property for the response status - warning
added the new
031-005enum value to theresponse property for the response status
- warning