For the complete documentation index, see llms.txt. This page is also available as Markdown.

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
202

Accepted

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: request complete
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"
}

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
202

Accepted

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: request complete
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"
}

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
202

Accepted

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: request complete
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?