@nowtilus/akamai-purger
v0.0.3
Published
Purge files on akamai
Downloads
3
Readme
Akamai-Purger
Purge your urls on the akamai origin using the edgegrid ccu/v3 API.
Install
# you probably need sudo or admin rights to install globally
npm i -g @nowtilus/akamai-purger
Configure
Put your Akamai credentials in an .edgerc
file at the directory root
Usage
Purge a single url
akamai-purger [url]
Purge multiple urls
akamai-purger [url1] [url2] [url3]
If you have multiple section in .edgerc you can select one (defaults to default
)
akamai-purger --section default [url1] [url2] [url3]
Note that you have to escape some characters on the commandline. Your URLs will look like:
akamai-purger https://talktalk-image-stage.nowtilus.tv/27947f4b-24bf-4ef9-9205-41fc5f45d037/27947f4b24bf4ef9920541fc5f45d037_AtFirstLight_Film_L_wot.jpg\?product\=season\&type\=image\&imbypass\=true https://talktalk-image-stage.nowtilus.tv/27947f4b-24bf-4ef9-9205-41fc5f45d037/27947f4b24bf4ef9920541fc5f45d037_AtFirstLight_Film_L_wot.jpg\?product\=film\&type\=image