knittotextile/Cloudflare Purge Cache

Purge a zone's cache via the Cloudflare API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
cloudflare_zoneThe Zone ID of your domain, which can be found in the right sidebar of your domain's overview page on the Cloudflare dashboard.yes
cloudflare_tokenThe restricted API Token with permissions to purge the cache of one or more zones.
cloudflare_emailThe email address you registered your Cloudflare account with.
cloudflare_keyYour Cloudflare API key, which can be generated using these [instructions](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/).
purge_tagsA comma-separated list of tags to purge from the cache. If you specify a tag that does not exist, it will be ignored.
purge_hostsA comma-separated list of hosts to purge from the cache. If you specify a host that does not exist, it will be ignored.
purge_prefixesA comma-separated list of prefixes to purge from the cache. If you specify a prefix that does not exist, it will be ignored.

no outputs