Browse docs

obi logout

Sign out of a saved context and end its session on the server.

obi logout signs out of the current context's sign-in, or the one the named context uses. Your contexts stay, with their servers and workspaces, so obi login signs them all back in.

Shell
obi logout [--context NAME]

A session from obi login is also ended on the server, along with the session it opened on each other workspace you used, so none of them works anywhere afterwards. A personal access token stays valid after obi logout, because other scripts may use it; revoke it under Settings, API keys when you no longer need it.