Logo
Akamai APIs API Documentation

Delete by URL or ARL

POST https://{{host}}/ccu/v3/delete/url/:network

Deletes content on the selected URL or ARL for the selected network. URLs and ARLs can be submitted in the same request. In most cases, you should invalidate rather than delete content. Invalidation keeps each object in cache until the version on your origin server is newer. Deletion retrieves the object regardless, which can dramatically increase the load on your origin server and would prevent Akamai from serving the old content if your origin is unreachable.

 

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 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "detail": "Request accepted", "estimatedSeconds": 5, "httpStatus": 201, "purgeId": "edcp-NZbXzFpHBjcJeryhw6PVgG", "supportId": "edcp-NZbXzFpHBjcJeryhw6PVgG" }



Curl
curl -X POST 'https://undefined/ccu/v3/delete/url/:network?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"objects":["https://foo1.bar.com/some/path","http://foo2.bar.com/some/other/path"]}'

ENDPOINTS