Fast Purge API v3
Number of APIs: 7
Use the Fast Purge API to purge edge content, including URLs, ARLs (Akamai resource locators), or any content grouped under a content provider (CP) code or cache tag.
Authentication
Create an authentication credential that contains the client token and client secret required to authenticate Akamai API requests.
Note: Only Akamai customers can create credentials. If you aren't an Akamai customer and wish to become one, you can sign up for our services.
- Navigate to the Identity and Access Management section of Akamai Control Center and click Create API Client.
Note: If you don't have access to the Identity and Access Management tool, contact your local Akamai Control Center admin or your Akamai account team for assistance.
- Click Quick and then Download in the Credentials section.
Note: If you need to refine access levels or permissions, see Create a client with custom permissions.
- Open the downloaded file with a text editor and add
[default]
as a header above all text.
[default]
client_secret = C113nt53KR3TN6N90yVuAgICxIRwsObLi0E67/N8eRN=
host = akab-h05tnam3wl42son7nktnlnnx-kbob3i3v.luna.akamaiapis.net
access_token = akab-acc35t0k3nodujqunph3w7hzp7-gtm6ij
client_token = akab-c113ntt0k3n4qtari252bfxxbsl-yvsdj
- Fork the [Akamai Authentication] environment, populate the variables, and [set it for your workspace]
Dependencies
- To purge by a directory or extension, use the Enhanced Content Control Utility API.
- To purge streaming or media content, use the Media Services API.
Integration methods
You can use this API collection in these integration methods: - API
-
URL/ARL - Delete by URL or ARL POST https://{{host}}/ccu/v3/delete/url/:network
-
Rate limits - Check rate and object limit statuses POST https://{{host}}/ccu/v3/rate-limit-status/:purge-type
-
Cache tag - Delete by cache tag POST https://{{host}}/ccu/v3/delete/tag/:network
-
Cache tag - Invalidate by cache tag POST https://{{host}}/ccu/v3/invalidate/tag/:network
-
URL/ARL - Invalidate by URL or ARL POST https://{{host}}/ccu/v3/invalidate/url/:network
-
CP code - Delete by CP code POST https://{{host}}/ccu/v3/delete/cpcode/:network
-
CP code - Invalidate by CP code POST https://{{host}}/ccu/v3/invalidate/cpcode/:network