DiffHook/Docs
API ReferenceUpdate monitor

Update monitor

PUT/api/monitors/{id}

Update a monitor configuration

Requires Authorization: Bearer <token>

Parameters1

idstringpathrequired

Request bodyapplication/json

labelstring
urlstring · uri
webhook_urlstring · uri
interval_minutesnumber
css_selectorstring
js_renderingboolean
alert_modestring
anypricenew-contentavailabilitycustom
alert_promptstring
notification_configobject

Responses

200Monitor updated successfully
400Validation error
401Unauthorized
404Monitor not found
500Internal server error