Logo
Akamai APIs API Documentation

EdgeKV API-Namespaces

Number of APIs: 7


1. Modify the default data access policy

PUT https://{{host}}/edgekv/v1/auth/database

Beta Modify the default dataAccessPolicy setting that applies to new namespaces. The restrictDataAccess is true by default, and allowNamespacePolicyOverride is false. Contact your Akamai representative to join the EdgeKV Beta for Standard TLS.



2. Reauthorize a namespace

PUT https://{{host}}/edgekv/v1/auth/namespaces/:namespaceId

Assign an existing namespace to a different Akamai access group.



3. Create a namespace

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

Creates a namespace on Akamai's STAGING or PRODUCTION network. You should create namespaces in both networks so that you can test your EdgeWorkers code on staging.



4. List namespaces

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

View a list of all EdgeKV namespaces.



5. Get namespace details

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

View details for the specified namespace.



6. Update namespace details

PUT https://{{host}}/edgekv/v1/networks/:network/namespaces/:namespaceId

You can update the retention period for any existing namespace other than the default namespace. It can take up to five minutes for a new retention policy to apply. The new retention period only applies to data added or updated in the namespace after this operation is complete. The retention period of existing data remains unchanged from the old retention period. Once you perform this operation you can't query the previously existing data. If you want to ensure that all data in the namespace has the same retention period you need to update the entire data set once the retention period has been updated. To change the access group used to authorize permission to a namespace, see Reauthorize a namespace. If you try to run this operation to update the access group, you get a 400 error.



7. List groups within a namespace

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

List group identifiers created when writing items to a namespace. You need to specify at least one of these group identifiers in the groupId parameter when writing items to a specific namespace. The group identifier is a logical container for a set of items stored inside a given namespace.



ENDPOINTS