# Azion CLI logout

The `azion logout` command signs you out of your Azion account from the CLI. Use it when you want to end your session or switch to a different account on the same machine. Running it removes the personal token saved locally during login, so the CLI can no longer make authorized requests until you authenticate again.

:::note
After logging out, you'll need to run `azion login` again before any command that requires authentication will work.
:::

## Usage

```bash
azion logout
```

## Optional flags

### help

The `-h` or `--help` option displays more information about the `azion logout` command.

## Related commands

- [azion login](/en/documentation/products/cli/login/): authenticates the CLI and stores a personal token locally.
- [azion whoami](/en/documentation/devtools/cli/whoami/): shows the email of the account currently signed in.