v1
latestOpenAPI 3.0.02026-07-224452146.0 KBMonitoring
Update a monitor
patch/monitor/{monitorId}
Path parameters
monitorIdstring uuid required
The monitor ID
Request body
Example request
{
"schedule": {
"cron": "*/30 * * * *",
"text": "every 30 minutes",
"timezone": "UTC"
},
"targets": [
{
"scrapeOptions": {
"actions": [
{
"selector": "#my-element"
}
],
"location": {
"languages": [
"en-US"
]
},
"threatProtection": {
"riskScoreThreshold": 75
}
}
}
]
}Response
Monitor updated
Example response
{
"data": {
"targets": [
{
"scrapeOptions": {
"actions": [
{
"selector": "#my-element"
}
],
"location": {
"languages": [
"en-US"
]
},
"threatProtection": {
"riskScoreThreshold": 75
}
}
}
]
}
}