Create a private location

Server: https://{kibana_url}
  • POST /api/synthetics/private_locations

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 will return a 400 Bad Request response with a corresponding error message.