PgBeam Docs
agents

agents revoke

Permanently revoke an agent credential

Permanently revoke an agent credential. Any live connections using it are dropped within seconds. This cannot be undone. A confirmation prompt is shown unless --yes is passed.

Usage

pgbeam agents revoke <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

# Revoke a credential (with confirmation)
pgbeam agents revoke agt_xxx

# Revoke without confirmation (CI/CD)
pgbeam agents revoke agt_xxx --yes

Output

Confirms the credential was revoked.

On this page