sbx env rm
| Description | Remove a sandbox environment and its scoped resources |
|---|---|
| Usage | sbx env rm [PATH...] [flags] |
Experimental
This command is experimental.
Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.
Description
Remove the sandbox declared in .sbxenv.yaml along with the secret values provisioned at its sandbox scope (service, custom, and registry credentials). Global credential bindings are left in place by default since they are user-wide and may be shared with other sandboxes; pass --prune-bindings to also remove the bindings this environment declares.
Each PATH may be a directory (the file is -f semantics), so the same set used to create the
environment resolves to the same sandbox on removal.
Options
| Option | Default | Description |
|---|---|---|
-f, --force | Skip confirmation prompts | |
--prune-bindings | Also remove this environment's bindings from the global credentials.yaml |
Global options
| Option | Default | Description |
|---|---|---|
-D, --debug | Enable debug logging |