Monitor
Update a monitor
Update a monitor
PUT
/
monitor
/
:id
Path Parameters
id
string
requiredThe id of the monitor
Body
application/json
periodicity
enum<string>
requiredHow often the monitor should run
Available options:
30s
, 1m
, 5m
, 10m
, 30m
, 1h
, other
url
string
requiredThe url to monitor
regions
enum<string>[]
Where we should monitor it
Available options:
ams
, arn
, atl
, bog
, bom
, bos
, cdg
, den
, dfw
, ewr
, eze
, fra
, gdl
, gig
, gru
, hkg
, iad
, jnb
, lax
, lhr
, mad
, mia
, nrt
, ord
, otp
, phx
, qro
, scl
, sjc
, sea
, sin
, syd
, waw
, yul
, yyz
name
string
requiredThe name of the monitor
description
string
The description of your monitor
method
enum<string>
default: GETAvailable options:
GET
, POST
, HEAD
body
string | null
default: The body
headers
object[] | null
The headers of your request
assertions
object[] | null
The assertions to run
active
boolean
default: falseIf the monitor is active
public
boolean
default: falseIf the monitor is public
Response
200 - application/json
id
number
The id of the monitor
periodicity
enum<string>
requiredHow often the monitor should run
Available options:
30s
, 1m
, 5m
, 10m
, 30m
, 1h
, other
url
string
requiredThe url to monitor
regions
enum<string>[]
requiredWhere we should monitor it
Available options:
ams
, arn
, atl
, bog
, bom
, bos
, cdg
, den
, dfw
, ewr
, eze
, fra
, gdl
, gig
, gru
, hkg
, iad
, jnb
, lax
, lhr
, mad
, mia
, nrt
, ord
, otp
, phx
, qro
, scl
, sjc
, sea
, sin
, syd
, waw
, yul
, yyz
name
string
The name of the monitor
description
string
The description of your monitor
method
enum<string>
default: GETrequiredAvailable options:
GET
, POST
, HEAD
body
string | null
default: The body
headers
object[] | null
The headers of your request
assertions
object[] | null
The assertions to run
active
boolean
default: falseIf the monitor is active
public
boolean
default: falseIf the monitor is public
Was this page helpful?