adj logout
Revoke the session and clear stored tokens
Revoke the refresh token server-side (POST /v1/auth/logout; idempotent) and clear the access + refresh tokens from the active context. The server, org, and email are kept so re-logging in is a single command.
With --all, every session for the account is revoked server-side (DELETE /v1/account/sessions), not just this one.
Usage
adj logout [flags]
Flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--all |
false |
sign out everywhere (revokes every session) |
Global flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--context |
— |
config context to use (overrides current-context) | |
--output |
-o | table |
output format: table|json|yaml |
--server |
— |
server base URL (overrides the active context) | |
--token |
— |
access token (overrides the active context) | |
--verbose |
-v | false |
log requests to stderr |