knittotextile/Cloudflare Purge Cache
Purge a zone's cache via the Cloudflare API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cloudflare_zone | The 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_token | The restricted API Token with permissions to purge the cache of one or more zones. | — | — |
| cloudflare_email | The email address you registered your Cloudflare account with. | — | — |
| cloudflare_key | Your Cloudflare API key, which can be generated using these [instructions](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/). | — | — |
| purge_tags | A comma-separated list of tags to purge from the cache. If you specify a tag that does not exist, it will be ignored. | — | — |
| purge_hosts | A comma-separated list of hosts to purge from the cache. If you specify a host that does not exist, it will be ignored. | — | — |
| purge_prefixes | A comma-separated list of prefixes to purge from the cache. If you specify a prefix that does not exist, it will be ignored. | — | — |
Outputs
no outputs