px pxb version: 3.2.0
px pxb logout
Logout from PX-Backup and clear stored authentication tokens.
This command will:
- Clear the authentication token from ~/.pxb/config file
- Remove the stored token file (~/.pwx/px_backup_token) if present
- Optionally clear environment variables if set
Examples:
# Logout and clear all authentication data
px pxb logout
# Logout and also clear environment variables
px pxb logout --clear-env
Flags
| Flag | Input type | Description | Default | Required |
|---|---|---|---|---|
--clear-env | bool | Also clear environment variables (OIDC_AUTH_TOKEN and PXB_GRPC_ENDPOINT) | false | Optional |