WEBINARLive webinar: Terraform in Buddy, Oct 21st.Terraform: plan, approve, apply with state in Buddy. Live on October 21st.Save your seat

bdy sandbox endpoint

View as Markdown
$bdy sandbox endpoint|ep [options] [command]

Manage public endpoints that expose sandbox ports

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
-h, --help
display help for command
AVAILABLE COMMANDS
Add an endpoint exposing a sandbox port. The server must listen on 0.0.0.0, otherwise it is unreachable Required scopes: SANDBOX_WRITE
Delete an endpoint Required scopes: SANDBOX_WRITE
Show endpoint details Required scopes: SANDBOX_READ
List endpoints of a sandbox Required scopes: SANDBOX_READ

Documentation for bdy v1.25.20

Last modified on Oct 14, 2026

Examples

Create http endpoint on port 80 (http server must listen on 0.0.0.0)
bdy sb ep create sandbox-identifier -e 80$
Create http server and serve files from sandbox directory
bdy sb ep create sandbox-identifier -s /path/to/dir$
Create tcp endpoint on port 22 with name (tcp server must listen on 0.0.0.0)
bdy sb ep create sandbox-identifier -t TCP -e 22 -n test$
Return the result as JSON
bdy sandbox endpoint add my-sandbox --name web --type HTTP --endpoint 8080 --format json$
Delete sandbox endpoint
bdy sb ep rm sandbox-identifier test$
Delete sandbox endpoint in another project and automatically confirm deletion
bdy sb ep rm sandbox-identifier test -p project -f$
Get sandbox endpoint
bdy sb ep get sandbox-identifier test$
Get sandbox endpoint in another project
bdy sb ep get sandbox-identifier test -p project$
List sandbox endpoints
bdy sb ep ls sandbox-identifier$
List sandbox endpoints in another project
bdy sb ep ls sandbox-identifier -p project$