Skip to main content
The logout command ends your authenticated session by removing the stored access token. After logging out, commands that require authentication will prompt you to log in again.

Usage

panguard logout [options]

Options

--lang
string
default:"en"
Set the language for logout messages.

Examples

panguard logout

What It Does

  1. Invalidates the local token stored in ~/.panguard/credentials
  2. Notifies the server to revoke the session (if reachable)
  3. Clears cached user data from the local configuration
If Guard is running when you log out, it will continue operating with cached credentials until the next token refresh cycle (up to 1 hour). To fully stop protected operations, run panguard guard stop before logging out.

Plan Requirements

Available on all plans including Community (Free).