Bulk update monitors
- Base URL
-
https://{kibana_url}
- PUT /api/synthetics/monitors/_bulk_update
- PUT /s/{space_id}/api/synthetics/monitors/_bulk_update
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 privileges
uptime-read
and
uptime-write
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
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.