> ## Documentation Index
> Fetch the complete documentation index at: https://braintrust.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# bt logout

> Remove a saved Braintrust login profile.

`bt logout` removes one saved Braintrust login profile and its stored credentials from your machine. If neither `--profile` nor `BRAINTRUST_PROFILE` selects a profile, `bt` uses the only saved profile or prompts you to choose one when multiple profiles are saved. In a non-interactive environment with multiple profiles, pass `--profile`.

<Note>
  `bt logout` does not revoke API keys or sign you out of the Braintrust web app.
</Note>

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
bt logout
bt logout --profile work
bt logout --profile work --force
```

To list, rename, or delete saved profiles, use [`bt profiles`](/docs/reference/cli/profiles).

## Flags

| Flag            | Description                  |
| --------------- | ---------------------------- |
| `--force`, `-f` | Skip the confirmation prompt |

Use the global `--profile` flag or `BRAINTRUST_PROFILE` environment variable to select which login profile to remove. Use `--json` for machine-readable output.
