Delete by CP code

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

Deletes content on the selected CP code for the selected network. 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.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) 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.

Request Body

{"objects"=>[12345, 98765]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

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