Invalidation API
Create invalidation requests via API
Last updated
Was this helpful?
Create invalidation requests via API
Last updated
Was this helpful?
The Invalidation API is a REST API that lets you remove cached images from the CDN and Cloudimage resizing servers.
Your API key is available in the Cloudimage admin console, under Invalidation:
Body:
If you are using Invalidation with scope 'original', please do not append any Cloudimage query string parameters at the end of the invalidated URL. Example:
Try it out with the doc token
For Cloudimage tokens created before November 2021, the invalidated URL should include "/v7/". Example: /v7/
For Cloudimage tokens created after November 2021, the invalidated URL should not include "/v7/". Example:
If you are using the its value should not be included. Example: images/image1.jpg
If you are using an, the alias should be invalidated (not the original value behind it). Example: _alias_/images/image1.jpg
correct URL format:
incorrect URL format:
if you have more than 1 TB of monthly CDN traffic or 1 TB of storage.
You can use our showing the time it is resized the first time: