CDN

Purge CDN cache

post/cdn/zones/{zone_uuid}/purge-cache

Remove cached copies of your content from every CDN location so the next request fetches a fresh copy from your origin. Purge the whole zone with {"everything": true}, or up to 100 paths with {"paths": [...]}. A path ending in * purges everything under that prefix. Purging usually completes within a minute; follow its progress with the purge history. Each organization can request up to 300 purges per hour, of which at most 60 may purge the whole zone or a prefix.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

zone_uuid*string

Cuerpo de la petición

Purge cached content of a CDN zone: either everything, or a list of paths.

Set exactly one of everything or paths. Invalid combinations or paths return 422.

application/jsonObligatorio
everything?boolean

Purge every cached file of the zone (system and custom domain).

Por defectofalse
paths?array<string>

Paths to purge (max 100, 2048 characters each). Each starts with '/', uses printable ASCII without spaces, quotes or backslashes, and matches with or without query string. A trailing '*' purges every path with that prefix.

Respuestas

An identical purge is queued and not started yet

application/json

detail*string
purge_uuid*string
status*string
Valores"pending""in_progress""completed""partial""failed""expired"