---
title: "agents disable"
description: "Kill-switch an agent credential (reversible)"
canonical: "https://pgbeam.com/docs/cli/agents/disable"
last-updated: "2026-09-14T19:37:21.000Z"
---

# agents disable

> Kill-switch an agent credential (reversible)

URL: https://pgbeam.com/docs/cli/agents/disable

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

## Options

Option

Description

Required

Default

`<id>`

Agent credential ID

Yes

-

`--yes`, `-y`

Skip the confirmation prompt (useful for scripts and CI/CD)

No

`false`

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

## Examples

## Output

Confirms the credential was disabled.