PgBeam Docs
agents

agents disable

Kill-switch an agent credential (reversible)

Disable an agent credential as a reversible kill-switch. Live connections using it are dropped within seconds and new connections are rejected until the credential is re-enabled with pgbeam agents enable. Unlike revoke, this does not permanently destroy the credential. A confirmation prompt is shown unless --yes is passed.

Usage

pgbeam agents disable <id> [flags]

Options

OptionDescriptionRequiredDefault
<id>Agent credential IDYes-
--yes, -ySkip the confirmation prompt (useful for scripts and CI/CD)Nofalse

Global options

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

Examples

# Disable a credential (with confirmation)
pgbeam agents disable agt_xxx

# Disable without confirmation (CI/CD)
pgbeam agents disable agt_xxx --yes

Output

Confirms the credential was disabled.

On this page