Skip to main content
cloudflare.purgeCache purges cached content for a zone.
automations/cloudflare-purge-cache.automation.ts
Choose exactly one mode: purgeEverything, files, hosts, prefixes, or tags. Selective modes accept at most 30 entries. Optional second argument { account } selects a static project account binding. Returns Cloudflare’s purge operation ID.