bdy agent tunnel rm

View as Markdown
$bdy agent tunnel rm [options] <id>

Remove a tunnel from the agent by ID

ARGUMENTS
id
Id of the tunnel. If not provided status of tunneling service (required)
OPTIONS
--context <name>
Connection and scope context: default, git, link or a saved name. Overrides the globally active context for this invocation.
--examples
Show only examples; with this flag --format accepts text, json or jsonl
--verbose
Show REST API requests, responses, timing and retries on stderr
-f, --force
Skip confirmation prompt; required without interactive stdin
--format <text|json>
Output format: json, text. JSON CLI errors: {error:{code,message,hint}}, exit 1. Default: text (choices: "text", "json")
--agent <identifier>
Act on this agent through the REST API instead of the agent installed on this machine: its identifier or hash id. Needs a REST API token (bdy login or BUDDY_TOKEN)
--workspace <domain>
Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE
-p, --project <name>
Project name. Can be set via variable: BUDDY_PROJECT
-h, --help
display help for command

Documentation for bdy v1.26.3

Last modified on Nov 24, 2026

Examples

Remove agent tunnel (asks for confirmation)
bdy agent tunnel rm tunnel-id$
Remove agent tunnel without confirmation
bdy agent tunnel rm tunnel-id -f$
Remove a tunnel of another agent through the REST API
bdy agent tunnel rm tunnel-id -f --agent build-server --workspace my-workspace$