Skip to main content
End the current session by deleting the active profile and clearing its tokens from your system keyring. Other saved profiles are untouched, so this is safe to run on a shared machine when you only want to drop one account.

Synopsis

Options

None. To target a specific profile, use the global --profile flag.

Examples

1. Sign out of the active profile

Removes the active profile and clears its tokens. The next command that needs auth will prompt you to run auth login again.

2. Sign out of a specific profile

The global --profile flag selects which saved profile to remove without touching the others.

3. Confirm sign-out in a script

Branch on data.loggedOut to decide whether to chain a follow-up auth login for a new account.

Response

If there’s no active session to remove, the CLI returns a no-op response instead and exits 0:

See also