Skip to main content

px pxb logout

Logout from PX-Backup and clear stored authentication tokens.

This command will:

  1. Clear the authentication token from ~/.pxb/config file
  2. Remove the stored token file (~/.pwx/px_backup_token) if present
  3. Optionally clear environment variables if set

Examples:

  # Logout and clear all authentication data
pxb logout

# Logout and also clear environment variables
pxb logout --clear-env