---
title: "auth logout"
description: "Remove authentication profile"
canonical: "https://pgbeam.com/docs/cli/auth/logout"
last-updated: "2026-09-14T19:37:21.000Z"
---

# auth logout

> Remove authentication profile

URL: https://pgbeam.com/docs/cli/auth/logout

Remove stored authentication credentials. By default, removes the currently active profile (or the one specified with `--profile`). Use `--all` to remove every saved profile at once. A confirmation prompt is shown before deletion unless `--yes` is passed.

## Usage

## Options

Option

Description

Required

Default

`--all`

Remove all saved profiles instead of just the active one

No

`false`

`--yes`, `-y`

Skip the confirmation prompt

No

`false`

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

## Examples

## Output

Prints a success message confirming which profile was removed (e.g. `Profile "default" removed.`). If `--all` is used, confirms all profiles were removed.