Skip to main content

scout logout

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

scout logout demo

Usage

scout logout [flags]

Flags

FlagTypeDefaultDescription
-a, --accountstringLog out a specific account
--allboolfalseLog out of all accounts
--rawboolfalseOutput 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

  • login — authenticate with Scout
  • status — check authentication status
  • context — manage account contexts
Was this page helpful?