Update a monitor
Changed onSpaces method and path for this operation:
<div><span class="operation-verb put">put</span> <span class="operation-path">/s/{space_id}/api/synthetics/monitors/{id}</span></div>Refer to Spaces for more information.
Update a monitor with the specified attributes. The required and default fields may vary based on the monitor type.
You must have all privileges for the Synthetics feature in the Observability section of the Kibana feature privileges.
You can also partially update a monitor. This will only update the fields that are specified in the request body. All other fields are left unchanged. The specified fields should conform to the monitor type. For example, you can't update the inline_script field of a HTTP monitor.<br/><br/>[Required authorization] Route required privileges: uptime-read AND uptime-write.
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/synthetics/monitors/{id}
- Auth
- API key in header Authorization
- or HTTP basic
Path parameters
The identifier for the monitor that you want to update.
Headers
A required header to protect against CSRF attacks
Request body
Response
A successful response. The response may include a warnings array when the monitor configuration has non-critical issues.
Changes
- info
added the new optional request property
//
- info