stratumctl logout
Revoke the active session token + clear it from the profile
stratumctl logout [flags]Calls POST /v1/iam/logout against the active profile’s endpoint
to revoke the current session token, then clears the token from
~/.stratum/config.yaml. By default the entire profile is removed; pass
–keep-profile to retain endpoint + project + region but clear only
the token (useful when the next stratumctl login will reuse the same
endpoint).
Examples
Section titled “Examples”stratumctl logoutstratumctl logout --keep-profile| Flag | Type | Default | Description |
|---|---|---|---|
--keep-profile |
bool | false |
Clear only the token; keep endpoint/project/region in the profile |
