scout logout
Remove stored credentials for a specific account or all accounts. If an authentication session is active, the command attempts to revoke it.

Usage
scout logout [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-a, --account | string | — | Log out a specific account |
--all | bool | false | Log out of all accounts |
--raw | bool | false | Output JSON |
Examples
Log out of a specific account:
scout logout --account my-org
Log out of all accounts:
scout logout --all
Output result as JSON:
scout logout --account my-org --raw
note
If you omit both --account and --all and multiple sessions exist, the
command prompts you to select an account interactively.
Behavior
- Removes credentials from the system keychain (or
~/.scout/credentials.json) - Attempts auth session revocation (best-effort — succeeds even if the server is unreachable)
- Keeps profile configuration intact so you can re-authenticate later
- Shows remaining available sessions after logout
See Also
Was this page helpful?