Purge Purge
Purge Certified

Purge Cloudflare cached content

yaml
type: "io.kestra.plugin.cloudflare.cache.Purge"
yaml
id: purge_all_cache
namespace: company.team

tasks:
  - id: purge_all
    type: io.kestra.plugin.cloudflare.cache.Purge
    apiToken: "{{ secret('CLOUDFLARE_API_TOKEN') }}"
    zoneId: "your_zone_id"
    purgeAll: true

yaml
id: purge_specific_files
namespace: company.team

tasks:
  - id: purge_files
    type: io.kestra.plugin.cloudflare.cache.Purge
    apiToken: "{{ secret('CLOUDFLARE_API_TOKEN') }}"
    zoneId: "your_zone_id"
    files:
      - "https://example.com/app.js"
Properties
Defaulthttps://api.cloudflare.com/client/v4
SubTypestring
Definitions
allowFailedbooleanstring
Defaultfalse
allowedResponseCodesarray
SubTypeinteger
auth
type*Requiredobject
passwordstring
usernamestring
type*Requiredobject
tokenstring
basicAuthPasswordDeprecatedstring
basicAuthUserDeprecatedstring
connectTimeoutDeprecatedstring
Formatduration
connectionPoolIdleTimeoutDeprecatedstring
Formatduration
defaultCharsetstring
DefaultUTF-8
followRedirectsbooleanstring
Defaulttrue
logLevelDeprecatedstring
Possible Values
ALLTRACEDEBUGINFOWARNERROROFFNOT_SPECIFIED
logsarray
SubTypestring
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY
maxContentLengthDeprecatedinteger
proxy
addressstring
passwordstring
portintegerstring
typestring
DefaultDIRECT
Possible Values
DIRECTHTTPSOCKS
usernamestring
proxyAddressDeprecatedstring
proxyPasswordDeprecatedstring
proxyPortDeprecatedinteger
proxyTypeDeprecatedstring
Possible Values
DIRECTHTTPSOCKS
proxyUsernameDeprecatedstring
readIdleTimeoutDeprecatedstring
Formatduration
readTimeoutDeprecatedstring
Formatduration
ssl
insecureTrustAllCertificatesbooleanstring
timeout
connectTimeoutstring
readIdleTimeoutstring
DefaultPT5M
Defaultfalse
SubTypestring