checkly logout
command signs out of your current Checkly account and removes stored authentication tokens from your local machine.
Prerequisites
Prerequisites
Before using
checkly logout
, ensure you have:- Checkly CLI installed
- Currently authenticated with Checkly CLI
Usage
The basic command logs out of your current Checkly account and removes stored authentication tokens.Terminal
Option | Description |
---|---|
--force, -f | Force mode. Skips the confirmation dialog. |
Command Options
Skip confirmation dialogs and proceed with the operation.Usage:Examples:
Terminal
Terminal
What Happens During Logout
Session Invalidation
The logout process will:- Remove local tokens from your machine
- Require re-authentication for future CLI usage
Token Removal
The command removes authentication tokens stored locally in:- macOS:
~/Library/Preferences/@checkly/cli-nodejs/auth.json
- Linux:
~/.config/@checkly/cli-nodejs/auth.json
- Windows:
%APPDATA%\@checkly\cli-nodejs\auth.json
After Logout
Once logged out, you’ll need to runcheckly login
before using other CLI commands that require authentication.
Related Commands
checkly login
- Authenticate with your Checkly accountcheckly whoami
- Display current account informationcheckly switch
- Switch between multiple accounts