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
| Option | Description | Required | Default |
|---|---|---|---|
<id> | Agent credential ID | Yes | - |
--yes, -y | Skip the confirmation prompt (useful for scripts and CI/CD) | No | false |
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 --yesOutput
Confirms the credential was disabled.