Logo
Akamai APIs API Documentation

Delete an item

DELETE https://{{host}}/edgekv/v1/networks/:network/namespaces/:namespaceId/groups/:groupId/items/:itemId

Mark an EdgeKV item for deletion. You need to specify the namespace and group the item belongs to. It can take ten seconds or longer for a deleted item to be removed from the database. If you attempt a read operation before the value has been updated globally, stale data may be returned until the update is complete. This is normal behavior for EdgeKV, which is an eventually consistent database.

 

Body PARAM

Key Datatype Required Description 
sandboxId
string (Optional) Accesses EdgeKV data in the specified sandbox environment. To list existing sandbox identifiers, run the Sandbox API's [List sandboxes](https://techdocs.akamai.com/sandbox/reference/get-sandboxes) operation.
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

Item was deleted in the KV store with database 123456 namespace default group countries key US.



Curl
curl -X DELETE 'https://host/edgekv/v1/networks/:network/namespaces/:namespaceId/groups/:groupId/items/:itemId?sandboxId=&accountSwitchKey=' -H 'Accept: text/plain'

ENDPOINTS