Account commandslatest · 0.1.2
horizech logout
Sign out and revoke the session.
horizech logout [--json]Also available as hws logout.
Asks the identity provider to revoke the session first, then removes it from this machine. If the provider cannot be reached, the session is still removed locally and expires on its own. hws logout does the same.
Options
| Option | Description | Default |
|---|---|---|
--json | Print a machine-readable result on stdout. Progress goes to stderr. |
Examples
Sign out
$ horizech logoutWith --json
stdout
{ "signedOut": true, "revoked": true }API calls
What this command calls, for debugging and for anyone scripting the same thing. Registry paths are on https://api.horizech.com, OAuth2 paths on https://horizech.com. See Registry API.
| Method | Path | Notes |
|---|---|---|
GET | /OAuth2/Logout | identity provider |