v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
CDN Cache

Purge files from cache on cloudflare

Endpoint that can be used to purge individual files for one site from cloudflare cache.

post/v1/sites/{id}/cache/purge

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Query parameters

stagingboolean
domainstring
include_additional_domainsboolean

Also purge any additional domains for the site

Request body

filesstring[]
tagsstring[]

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": []
}