Update a private location

Base URL
https://{kibana_url}
  • PUT /api/synthetics/private_locations/{id}
  • PUT /s/{space_id}/api/synthetics/private_locations/{id}

Refer to Spaces for more information.

Update an existing private location's label. You must have all privileges for the Synthetics and Uptime feature in the Observability section of the Kibana feature privileges. When a private location's label is updated, all monitors using this location will also be updated to maintain data consistency.

Responses

400

If the label is shorter than 1 character the API will return a 400 Bad Request response with a corresponding error message.

404

If the private location with the specified ID does not exist, the API will return a 404 Not Found response.

Base URL
https://{kibana_url}