Create a private location

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

Refer to Spaces for more information.

Create a private location backed by a Fleet agent policy.

You must have all privileges for the Synthetics and Uptime feature in the Observability section of the Kibana feature privileges.

Responses

400

If the agentPolicyId is already used by an existing private location or if the label already exists, the API returns a 400 Bad Request response with a corresponding error message.

Base URL
https://{kibana_url}