capabilities.work

Purge Cache

A 3-step recipe with Cloudflare. We can help you get access.

Recipe · 3 steps

Purge Cache

Verify the zone, then purge cache by files or purge everything.

  1. Read the zone details to confirm the purge targets the intended zone.
  2. Purge only the supplied list of file URLs from the cache.
  3. Purge the entire cache for the zone when no files were supplied.
What you'll need to have ready
  • zoneId: The unique identifier of the zone whose cache will be purged.
  • files: Optional list of absolute file URLs to purge. When omitted, the entire cache is purged.
For your developer

Arazzo workflow cloudflare:purge-cache, 3 operations: zones-0-get → zone-purge → zone-purge. Specs on APIs.io.