Request
Path Parameters
external_idstringrequired
Your own identifier for the monitor, unique within the project: 1 to 128 letters, digits,
., _, : or -, starting with a letter or a digit.Example:"client-42"
Body
The same fields as Create a monitor, browser checks included.
- When no monitor of the project has this
external_id, the request creates one: the fields required on create are required here too, likename, andscriptfor a browser check. - When a monitor has it, the request updates that monitor like Update a monitor: only the fields you send change, and a monitor can't be turned into a browser check or back.
external_idcan be left out of the body. If you send it, it must be the one in the path.
Response
Returns the monitor object: with status code 201 when the request created it, 200 when it updated it.
Errors
Error responses
422validation
A field is invalid, a field required to create the monitor is missing, the
external_id in the path is malformed, or the one in the body differs from it409A monitor with this external_id already exists
Two requests created this
external_id at the same time. The body carries the uuid of the monitor that won; sending the request again updates it.403read-only key
The API key has read-only permissions