Cache

Remove files from the CDN cache

post

Purges (clears the CDN cache) for the files specified this will not change files on the origin and if the file is requested again it will be recached

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

Body
urisstring[]OptionalExample: ["/cat.jpg"]
Responses
chevron-right
202

Accepted

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: request complete
post
/service/{serviceId}/cache/purge

Remove all files from the CDN cache

post

Purges (clears the CDN cache) for the all files this will not change files on the origin and if the file is requested again it will be recached

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

Responses
chevron-right
202

Accepted

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: request complete
post
/service/{serviceId}/cache/purge/all

Force CDN to cache files

post

Warms (forces CDN to cache) for the files specified

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired

serviceId

Body
urisstring[]OptionalExample: ["/cat.jpg"]
Responses
chevron-right
202

Accepted

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: request complete
post
/service/{serviceId}/cache/warm

Last updated

Was this helpful?