DigitalOcean-public.v2-new_Uptime
Update a Check
To update the settings of an Uptime check, send a PUT request to /v2/uptime/checks/$CHECK_ID.
put/v2/uptime/checks/{check_id}
Path parameters
check_idstring uuid required
A unique identifier for a check.
Request body
Example request
{
"name": "Landing page check",
"type": "https",
"target": "https://www.landingpage.com",
"regions": [
"us_east",
"eu_west"
],
"enabled": true
}Response
The response will be a JSON object with a key called check. The value of this will be an object that contains the standard attributes associated with an uptime check.
Example response
{
"check": {
"id": "5a4981aa-9653-4bd1-bef5-d6bff52042e4",
"name": "Landing page check",
"type": "https",
"target": "https://www.landingpage.com",
"regions": [
"us_east",
"eu_west"
],
"enabled": true
}
}