Logo
Akamai APIs API Documentation

List sites

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

Returns a list of all sites for a configuration.

 

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 }, "clientOverridePolicyId": 32987, "clientOverridePolicyInfo": { "id": 32987, "name": "Policy_corp" }, "createdBy": "szhang", "createdDate": "2022-03-04T12:21:12.299+00:00", "exitPoints": [ { "addrType": "ADDR_TYPE_IPV4", "ipAddr": "192.0.2.228" }, { "addrType": "ADDR_TYPE_IPV4", "ipAddr": "192.0.2.203" }, { "addrType": "ADDR_TYPE_IPV4", "ipAddr": "192.0.2.171" }, { "addrType": "ADDR_TYPE_IPV6", "ipAddr": "2001:db8:53ff:142f:6a84:6d6d:4a9b:6ff4" } ], "id": 10959874, "isOffnetworkLocation": false, "modifiedBy": "hgildong", "modifiedDate": "2022-11-23T15:17:28.337+00:00", "name": "IPsec Ubuntu", "policyId": 32986, "policyInfo": { "id": 32986, "name": "IPSec staging Setup" }, "subLocations": [ { "accessConfig": { "configurable": true, "delegatedAdmins": [], "readable": true }, "createdBy": "hgildong", "createdDate": "2022-03-04T13:24:53.150+00:00", "exitPoints": [ { "addrType": "ADDR_TYPE_IPV4", "ipAddr": "192.0.2.179/24" } ], "id": 9563, "isOffnetworkLocation": false, "modifiedBy": "szhang", "modifiedDate": "2022-11-23T06:24:37.000+00:00", "name": "subloc1", "policyId": 70801, "policyInfo": { "id": 70801, "name": "offnet policy for bglore team -remya" }, "subLocations": [] } ], "useInternalIpPrivacyMask": true } ]



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

ENDPOINTS