Invalidate by CP code
POST https://{{host}}/ccu/v3/invalidate/cpcode/:network
Invalidates content on the selected CP code for the selected network
. You should consider invalidating content by default. This 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
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (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
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"}