Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save diablo02000/c372ca0ab6f5d04c6e9c9bd0baa3445a to your computer and use it in GitHub Desktop.
Save diablo02000/c372ca0ab6f5d04c6e9c9bd0baa3445a to your computer and use it in GitHub Desktop.
Purge cache Akamai with API
~$ http --headers --auth-type=edgegrid \
-a default: POST ':/ccu/v3/delete/url/production' \
objects:=@urls-to-delete-on-akamai.list
# `-a default` is the profile name, setup in .edgegrc file.
# the file `urls-to-delete-on-akamai.list` contain an array with a list of urls to delete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment