Skip to content

Purge CDN cache

POST
/purge
curl --request POST \
--url https://api.quantcdn.io/v1/purge \
--header 'Cache-Keys: azbe5 gormb1' \
--header 'Quant-Customer: example' \
--header 'Quant-Project: example' \
--header 'Quant-Token: <Quant-Token>' \
--header 'Quant-Url: /content' \
--header 'Soft-Purge: true'

Purge CDN cache. Supports purging via individual content paths or cache-keys.

Quant-Customer
required
string

The customer account name

Quant-Project
required
string

The project machine name

Quant-Url
string

The URL path to purge

Example
/content
Cache-Keys
string

The cache keys to purge separated by a space

Example
azbe5 gormb1
Soft-Purge
string

Set to issue a soft-purge of the content, which will make it as stale rather than immediately delete from edge caches

Example
true

Okay

Invalid credentials