Logo
Akamai APIs API Documentation

Invalidate by cache tag

POST https://{{host}}/ccu/v3/invalidate/tag/:network

Invalidates content on the selected set of cache tags 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.

 

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/invalidate/tag/:network?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"objects":["black-friday","electronics","laptops","tablets"]}'

ENDPOINTS