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
| 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
# Revoke a credential (with confirmation)
pgbeam agents revoke agt_xxx
# Revoke without confirmation (CI/CD)
pgbeam agents revoke agt_xxx --yesOutput
Confirms the credential was revoked.