Purge Cloudflare zone cache
cloudflare_zone_cache_purgePurge cached copies of specified URLs, hosts, prefixes, or tags in a Cloudflare zone, up to 100 per request, so subsequent requests fetch updated content from the origin.
Instructions
Purge cached copies of the given URLs, hosts, prefixes or tags in one zone, up to 100 at a time; nothing stored is deleted, the next requests fetch from the origin; for the whole cache use cloudflare_zone_cache_purge_all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 1–100 cache tags to purge from the cache. | |
| urls | No | 1–100 URLs to purge from the cache. | |
| zone | Yes | The zone domain or 32-hex id. | |
| hosts | No | 1–100 host names to purge from the cache. | |
| account | No | The label of the credential pair to use, or "default" for the unlabeled one; left out, the unlabeled pair, else the only label. | |
| prefixes | No | 1–100 prefixes (host/path…) to purge from the cache. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | The zone whose cache was purged. | |
| label | Yes | The account label. | |
| purged | Yes | ||
| purge_id | Yes | The Cloudflare purge identifier, if returned. |