cloudflared tunnel delete <TUNNEL>

Cloudflared tunnel delete will delete tunnels with the given tunnel UUIDs or names. A tunnel cannot be deleted if it has active connections. To delete the tunnel unconditionally, use -f flag

Arguments

NameDescription
TUNNELTunnel

Options

NameDescription
--config <value>Specifies a config file in YAML format. (default: "/usr/local/etc/cloudflared/config.yml")
--origincert <value>Path to the certificate generated for your origin when you run cloudflared login. [$TUNNEL_ORIGIN_CERT]
--autoupdate-freq <value>Autoupdate frequency. Default is 24h0m0s. (default: 24h0m0s)
--no-autoupdateDisable periodic check for updates, restarting the server with the new version. (default: false) [$NO_AUTOUPDATE]
--metrics <value>Listen address for metrics reporting. (default: "localhost:") [$TUNNEL_METRICS]
--pidfile <value>Write the application's PID to this file after first successful connection. [$TUNNEL_PIDFILE]
--loglevel <value>Application logging level { value: debug, info, warn, error, fatal}. At debug level cloudflared will log request URL, method, protocol, content length, as well as, all request and response headers. This can expose sensitive information in your logs. (default: "info") [$TUNNEL_LOGLEVEL]
--transport-loglevel, --proto-loglevel <value>Transport logging level(previously called protocol logging level) { value: debug, info, warn, error, fatal} (default: "info") [$TUNNEL_PROTO_LOGLEVEL, $TUNNEL_TRANSPORT_LOGLEVEL]
--logfile <value>Save application log to this file for reporting issues. [$TUNNEL_LOGFILE]
--log-directory <value>Save application log to this directory for reporting issues. [$TUNNEL_LOGDIRECTORY]
--trace-output <value>Name of trace output file, generated when cloudflared stops. [$TUNNEL_TRACE_OUTPUT]
--credentials-file, --cred-file <value>Filepath at which to read/write the tunnel credentials [$TUNNEL_CRED_FILE]
--force, -fCleans up any stale connections before the tunnel is deleted. cloudflared will not delete a tunnel with connections without this flag. (default: false) [$TUNNEL_RUN_FORCE_OVERWRITE]