Bulk update monitors
- Base URL
-
https://{kibana_url}
- PUT /api/synthetics/monitors/_bulk_update
- PUT /s/{space_id}/api/synthetics/monitors/_bulk_update
Refer to Spaces for more information.
Partially update multiple monitors in a single request.
Each updates entry has its own id and attributes patch, so one request can apply a different change per monitor. Unspecified fields are left unchanged. Patches use the same merge, validate, and encrypt path as PUT /api/synthetics/monitors/{id}.
For private-location monitors, Fleet is synced once for the batch instead of once per monitor.
You must have all privileges for the Synthetics feature in the Observability section of the Kibana feature privileges.
Required authorization
- Privileges uptime-read and uptime-write
Responses
A successful response. The result array is in request order. Per-id failures (not found, validation, Fleet sync) set updated: false and error without failing the whole batch. errors is present only when there are service-level sync errors.
Bad request. Returned when updates is missing or empty, an attributes object is empty, or the same id appears more than once.