gavai logout, which removes ~/.config/gavai/credentials.json from the local machine. After running it, any command that needs authentication will exit with code 3 until you run gavai login again.
Synopsis
Arguments
None.Flags
Run
gavai logout --help for the authoritative flag list. The CLI is the source of truth.Behavior
The command deletes the credentials file on disk. It does not revoke the tokens server-side — if you suspect the refresh token leaked, revoke the session from the Sessions tab at console.gavai.app instead of, or in addition to, running this command.Examples
Clear the local session:Exit codes
See CLI overview — exit codes for the full table.gavai login
Re-authenticate after logging out.