Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CDN Edge Purge
- There are two methods for purging content from the edge: One for purging individual objects, one for purging entire containers.
- Object Purge
- To purge a given object "foo.txt" in the container "bar", send the following to the X-CDN-Management-URL:
- DELETE /v1/<account-id>/bar/foo.txt HTTP/1.1
- Host: <X-CDN-Management-URL>
- X-Auth-Token: <auth-token>
- X-Purge-Email: user@domain.com
- That will purge that object from Akamai, and send an email to user@… when it's done. Note, the email address is optional, or can be a comma separated list of them if you want to notify more than one person.
- Container Purge
- To purge an entire container named "bar", send the following to the X-CDN-Management-URL:
- DELETE /v1/<account-id>/bar HTTP/1.1
- Host: <X-CDN-Management-URL>
- X-Auth-Token: <auth-token>
- X-Purge-Email: user@domain.com
- That will purge all objects in that container from Akamai, and send an email to user@… when it's done (might take a while, be patient). Note, the email address is optional, or can be a comma separated list of them if you want to notify more than one person.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement