CLI reference / cloudflare / remove

stado cloudflare remove

Invocation

stado cloudflare remove [OPTIONS] --api-credential <API_CREDENTIAL> --tunnel-credential <TUNNEL_CREDENTIAL> --zone <ZONE> --hostname <HOSTNAME>

Purpose

Remove one hostname's tunnel ingress and matching tunnel DNS records

Required inputs and options

Input or optionContract
--api-credential <API_CREDENTIAL>Stado credential containing the Cloudflare account_id and scoped api_token
--tunnel-credential <TUNNEL_CREDENTIAL>Stado credential containing the same account_id and tunnel_id
--zone <ZONE>Exact Cloudflare zone name, for example bobloo.com
--hostname <HOSTNAME>Exact public hostname to remove
--jsonEmit the nonsecret removal report as JSON

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.