Logo
Akamai APIs API Documentation

List namespaces

GET https://{{host}}/edgekv/v1/networks/:network/namespaces

View a list of all EdgeKV namespaces.

 

Body PARAM

Key Datatype Required Description 
details
string (Optional) __Enum__ Whether to return all namespace attributes or only names.
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

{ "namespaces": [ { "dataAccessPolicy": { "policyType": "inherited", "restrictDataAccess": true }, "geoLocation": "US", "groupId": 54321, "namespace": "default", "retentionInSeconds": 15724800 }, { "dataAccessPolicy": { "policyType": "overridden", "restrictDataAccess": false }, "geoLocation": "US", "groupId": 54321, "namespace": "marketing", "retentionInSeconds": 15724800 } ] }



Curl
curl -X GET 'https://host/edgekv/v1/networks/:network/namespaces?details=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS