CDN Cache

Purge all files from single domain from cache on cloudflare

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

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

Request

  • Base URL
    https://api.rocket.net
  • Auth
    HTTP bearer

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

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.