Get a private location
You must have read
privileges for the Synthetics and Uptime feature in the Observability section of the Kibana feature privileges.
Path parameters
-
id
string Required A private location identifier or label.
GET
/api/synthetics/private_locations/{id}
curl \
--request GET 'https://localhost:5601/api/synthetics/private_locations/{id}' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"label": "Test private location",
"id": "test-private-location-id",
"agentPolicyId": "test-private-location-id",
"isServiceManaged": false,
"isInvalid": false,
"geo": {
"lat": 0,
"lon": 0
},
"namespace": "default"
}