CLI & APICommand reference
stackblaze logout
Remove saved credentials from this machine
Usage: stackblaze logout [options]
Remove saved credentials from this machine
Options:
--json Output JSON (same as -o json) (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
Remove the saved credentials from this machine. The token itself stays valid until you revoke it (stackblaze tokens revoke):
stackblaze logout
stackblaze whoamiOK Logged out — removed local credentials.
x No API token. Pass --token, set STACKBLAZE_TOKEN, or run `stackblaze login`. Create a token in the dashboard under Settings > API tokens (sb_pat_...).