Oko/Docs

Command reference

oko logout

Remove the shared session used by Oko commands.

Invocation#

Command
oko logout [--json]

Inputs and options#

  • None.

Output and state effect#

  • Returns session and removed. A second logout reports that no session was kept. The database endpoint declaration is not a signed-in identity.

Refusals and safe exits#

  • An unreadable session location or failed removal keeps its actual cause; failure is not reported as a successful sign-out.

CLI reference#