Skip to main content
PATCH
/
api
/
v1
/
uptime
/
{id}
Update an uptime monitor
curl --request PATCH \
  --url https://api.example.com/api/v1/uptime/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "targetUrl": "<string>",
  "expectedResponseCode": "<string>",
  "followRedirects": true,
  "content": "<string>",
  "body": {},
  "timeout": "<string>",
  "alertSensitivity": "<string>",
  "httpMethod": "<string>",
  "headers": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "username": "<string>",
  "password": "<string>",
  "regions": [
    "<string>"
  ]
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string
targetUrl
string
checkType
enum<string>
Available options:
UPTIME,
CONTENT
expectedResponseCode
string
followRedirects
boolean
contentAlert
enum<string>
Available options:
NOT_FOUND,
FOUND
content
string
body
object
timeout
string
alertSensitivity
string
httpMethod
string
headers
object[]
username
string
password
string
regions
string[]

Response

200 - undefined