URL

GET https://{api-url}/api/v2/synthetics/{tenantId}/privateLocations

Sample URLs

https://localhost/api/v2/synthetics/client_6/privateLocations
https://localhost/api/v2/synthetics/client_6/privateLocations?zone=North America
https://localhost/api/v2/synthetics/client_6/privateLocations?locationName=G1-HYDLAB

Header format

HeaderValue
AuthorizationBearer {accessToken}
Content-typeapplication/json
Acceptapplication/json

Status code

200 OK

Parameters

ParameterDescription
zone(Optional) Zone. Values: North America, HYDERABAD, On-premises
locationName(Optional) Location name. Example: Public

Sample response

{ 
    "id": 13, 
    "name": "TestPrivate", 
    "uuid": "a5c18c0e-dfb0-4fbe-8f5e-5c67e66c4e04", 
    "visibility": "PRIVATE", 
    "visibleCustomerId": 6, 
    "zone": "North America" 
    },
{ 
    "id": 14, "name": 
    "TestPublic", "uuid": 
    "b55fd808-f463-4bc7-9bec-5c1a9e487fc1", 
    "visibility": "PRIVATE", 
    "visibleCustomerId": 6, 
    "zone": "North America" 
    },
{ 
    "id": 15, 
    "name": "TestPublic44", 
    "uuid": "e6a2b4f0-000f-4d47-bad9-cac1bb3f3962", 
    "visibility": "PRIVATE", 
    "visibleCustomerId": 6, 
    "zone": "North America" 
    }