cli-purge
cli-purge copied to clipboard
API error 400 invalid endpoint
Hello @Gokulpradeep
The error says invalid endpoint. Are you able to provide more detail why you think this error is incorrect?
You are most likely using invalid/incorrect credentials causing it make requests to the wrong host (which doesn't support purge).
Please ensure that:
- You are passing in the
--section
flag (and if necessary--edgerc
also), or that your credentials live in$HOME/.edgerc
under the[default]
section - That the
host
for the credentials in question ends inpurge.akamaiapis.net
, if not, the credentials are not for purge
Let me know if this helps!