Skip to main content

Overview

Update one or more settings of a monitor. Send only the fields you want to change; everything else keeps its current value. The updated monitor is returned.
A monitor’s type is fixed when it is created. You can send the monitor’s current type again (the dashboard does on every save), but any other value is rejected. To monitor the same target a different way, create a new monitor and delete the old one.

Authentication

Your role must be allowed to edit monitors, otherwise INSUFFICIENT_PERMISSIONS (403).

Path parameters

Request body

All fields are optional. Validation rules match Create Monitor; the type-specific objects are described there. Domain expiry monitoring is re-checked against the monitor as it will be after the update, but only when the request touches domain_monitoring, target or type. Enabling it on a monitor whose target is not a publicly registered domain returns VALIDATION_ERROR with details.field set to domain_monitoring. A plan limit is only enforced for what the request changes. A monitor that was configured on a higher plan keeps its settings after a downgrade, and you can still edit unrelated fields.

Response

200 OK

The monitor object has the same shape as in Get Monitor.

Errors

Changing the monitor type

HTTP status 400.

All errors

Example