Update a MonitorV2

Partially updates a monitor. Only PATCH is supported for this URL.

Top-level merge: The server reads the current monitor, then for each of these properties—name, disabled, description, ruleKind, definition, actionRules—uses the request value if the key is present in the body, otherwise keeps the stored value. Keys omitted from the body do not change.

Replace entire subtrees: If definition or actionRules appears in the body, it replaces the whole stored definition or actionRules value. The server does not deep-merge inside definition, inside individual action rules, or inside nested structures (for example an action rule’s definition). To change part of the monitor definition or action configuration, send the complete definition and/or full actionRules array you want saved.

Not controlled by the body: Other monitor fields (such as id from the path, or monitorVersion) are not updated from this JSON body using the merge rules above.

Extra properties: Any other top-level JSON properties in the body are ignored for this merge (they are not written to the monitor).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The Monitor object id

Body Params

Any subset of patchable fields. Omitted keys among name, disabled, description, ruleKind, definition, and actionRules leave the corresponding stored values unchanged. When definition or actionRules is sent, it must be the full replacement value for that field.

Request body for PATCH .../monitors/{id}. Every property is optional. Only these top-level keys participate in the update; see the operation description for merge vs whole-value replacement rules.

string
boolean
string
string
enum
Allowed:
definition
object
actionRules
array of objects
actionRules
Responses
204

The object was updated

400

Invalid request

404

The object was not found

Language
Credentials
Bearer
Authorization: Bearer <customerid> <apitoken>
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!