Get a private location
Spaces method and path for this operation:
get /s/{space_id}/api/synthetics/private_locations/{id}
Refer to Spaces for more information.
You must have read
privileges for the Synthetics and Uptime feature in the Observability section of the Kibana feature privileges.
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"
}