Logo
Akamai APIs API Documentation

List sublocations

GET https://{{host}}/etp-config/v3/configs/:configId/sites/:siteId/sub-locations

Returns the list of sublocations for the site.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

[ { "accessConfig": { "configurable": true, "delegatedAdmins": [], "readable": true }, "createdBy": "jsmith", "createdDate": "2021-09-21T05:27:02.131+00:00", "exitPoints": [ { "addrType": "ADDR_TYPE_IPV4", "ipAddr": "192.0.2.238/24" } ], "id": 2878, "isOffnetworkLocation": false, "modifiedBy": "alfulani", "modifiedDate": "2021-09-21T05:27:02.131+00:00", "name": "sub", "policyId": 4120, "policyInfo": { "id": 4120, "name": "P1" }, "subLocations": [] } ]



Curl
curl -X GET 'https://undefined/etp-config/v3/configs/:configId/sites/:siteId/sub-locations?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS