---
title: Log out
description: Revoke the stored token server-side and clear the local session.
cli_command: wiblo logout
canonical_url: https://wiblo.app/docs/developers/cli/authentication/logout
last_updated: 2026-07-28T17:12:38+02:00
md_url: https://wiblo.app/docs/developers/cli/authentication/logout.md
---

# Log out

`$ wiblo logout`

## Usage

```bash
wiblo logout
```

```text
$ wiblo logout
✓ Signed out. The token has been revoked.
```

## Behaviour

Logout revokes the stored token with the API, then deletes `auth.json`. The non-secret `config.json` (your active workspace) survives.

- Not signed in? Logout is a no-op success — exit `0`.
- Running with `--token` or `WIBLO_TOKEN` set? Logout refuses with `ambient_credentials` — it will not revoke a token it does not own. Unset the variable instead.
- If the server says the token is already gone (`401`), the local file is still deleted and logout succeeds.
- A rate-limited revoke (`429`) keeps the local session so you can retry.
