CLI reference / tunnel / remove

stado tunnel remove

Invocation

stado tunnel remove [OPTIONS] --provider <PROVIDER> --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
--provider <PROVIDER>Provider that carries the tunnel. No provider is assumed Possible values: - cloudflare: Cloudflare Tunnel: ingress through the account's named tunnel, DNS in the account's zone, both through the Cloudflare API
--api-credential <API_CREDENTIAL>Stado credential containing the provider account_id and scoped api_token
--tunnel-credential <TUNNEL_CREDENTIAL>Stado credential containing the same account_id and tunnel_id
--zone <ZONE>Exact DNS zone name the provider serves, for example example.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.