## logout

Revoke the current session and clear its locally stored credentials and context information. After logging out, run [stripe login](https://docs.stripe.com/cli/login.md) to authorize the CLI again.

If you use legacy project profiles authenticated with API keys, use `--all` to clear credentials for every project profile.

**Command:** `stripe logout`

### Flags

- `-a, --all`
  Clear credentials for all project profiles you're currently logged in to.

### Examples

**Revoke the session and clear credentials**

```sh
stripe logout
```

**Clear credentials for all project profiles**

```sh
stripe logout --all
```
