---
title: "agents enable"
description: "Re-enable a disabled agent credential"
canonical: "https://pgbeam.com/docs/cli/agents/enable"
last-updated: "2026-10-30T02:48:39.000Z"
---

# agents enable

> Re-enable a disabled agent credential

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

{/* Auto-generated from CLI commands. Do not edit. Run `pnpm generate:cli-docs` to regenerate. */}

Re-enable an agent credential that was previously disabled with `pgbeam agents disable`. New connections using it are accepted again, subject to its policy profile.

## Usage

```bash
pgbeam agents enable <id>
```

## Options

| Option | Description         | Required | Default |
| ------ | ------------------- | -------- | ------- |
| `<id>` | Agent credential ID | Yes      | -       |

> **Global options**
>
> All [global options](/docs/cli/global-options) (`--token`, `--profile`,
> `--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
> also available on this command.

## Examples

```bash
# Re-enable a credential
pgbeam agents enable agt_xxx
```

## Output

Confirms the credential was enabled.