PgBeam
PgBeam Docs
branches

branches discard

Discard a sandbox branch

Marks an ephemeral sandbox branch as discarded for teardown.

Usage

pgbeam branches discard <id> [flags]

Options

OptionDescriptionRequiredDefault
<id>Yes-
--yes, -ySkip the confirmation prompt (useful for scripts and CI/CD)No-

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --no-trunc, --debug) are also available on this command.

Examples

# Discard a sandbox branch
pgbeam branches discard

# Output as JSON
pgbeam branches discard --json

Output

Renders a human-readable table or detail view by default; pass --json for the raw API response.

On this page