List namespaces

View a list of all EdgeKV namespaces.

Recipes
List namespaces
Open Recipe
Path Params
string
required

Enum Network environment to execute the API request on.

Query Params
string

Enum Whether to return all namespace attributes or only names.

string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Responses

Response body
object
namespaces
array of objects
required
length ≥ 1

A list of namespace identifiers for the specified network.

namespaces*
object
dataAccessPolicy
object

Overrides the default data access policy. If not specified, all new namespaces use the current dataAccessPolicy. The default data access policy is defined when first initializing EdgeKV. You can change the settings for new namespaces by running the Modify the default data access policy operation after initialization. You can't change the data access policy after you create a namespace.

string
Defaults to US

Specifies the storage location for data when creating a namespace on the production network. This can help optimize performance by storing data where most of your users are located. Once you set this value, you can't modify it. The value defaults to US on the STAGING and PRODUCTION networks. The available locations on the PRODUCTION network also include EU (Europe), JP (Japan), and GLOBAL. The GLOBAL location automatically replicates data to US, EU, and JP storage locations. If you use the GLOBAL location, reads are faster but write operations are slighly slower.

US EU JP GLOBAL

integer
required
≥ 0

The Akamai access group the namespace is assigned to. A value of 0 makes the namespace available to all Akamai access groups on the account with EdgeKV capabilities.

string
required

A name for a namespace.

string

Read-only Specifies the current status of the namespace. A status of READY indicates that all reads and writes are enabled.
A status of DELETING indicates that the namespace is scheduled for deletion
and all reads and writes are disabled.

READY DELETING

integer
required

Retention period of underlying data, represented in seconds. Accepts values between 86400 for one day and 315360000 for 10 years. You can also enter a value of 0 to retain data indefinitely.

date-time

Read-only Specifies the time scheduled time for a namespace delete, in ISO 8601 format. A value only appears when a scheduled delete is pending for the namespace.

Language
Authentication
URL