Create a private location
- Base URL
-
https://{kibana_url}
- POST /api/synthetics/private_locations
- POST /s/{space_id}/api/synthetics/private_locations
https://{kibana_url}
You must have all privileges for the Synthetics and Uptime feature in the Observability section of the Kibana feature privileges.
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
A successful response.
Response Type: object
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.
https://{kibana_url}