Cache
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
202
Accepted
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
request complete401
Unauthorized
application/json
503
Service Unavailable
application/json
post/service/{serviceId}/cache/purge
POST /api/service/{serviceId}/cache/purge HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"uris": [
"/cat.jpg"
]
}{
"code": 200,
"message": "request complete"
}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
202
Accepted
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
request complete401
Unauthorized
application/json
503
Service Unavailable
application/json
post/service/{serviceId}/cache/purge/all
POST /api/service/{serviceId}/cache/purge/all HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"code": 200,
"message": "request complete"
}Warms (forces CDN to cache) for the files specified
Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
serviceIdanyRequired
serviceId
Body
urisstring[]OptionalExample:
["/cat.jpg"]Responses
202
Accepted
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
request complete401
Unauthorized
application/json
503
Service Unavailable
application/json
post/service/{serviceId}/cache/warm
POST /api/service/{serviceId}/cache/warm HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"uris": [
"/cat.jpg"
]
}{
"code": 200,
"message": "request complete"
}Last updated
Was this helpful?