deel auth
The auth commands manage the token the CLI sends with each API request. Token resolution and storage are described in Authentication.
All commands accept the global options. --env selects which environment’s token is validated, stored, or removed.
deel auth status
Validate the current token and report where it came from.
Response (data object)
Errors
Example
deel auth login
Read a token, validate it against the API, and store it in the OS keychain for the selected environment. The command prompts with hidden input on an interactive terminal; otherwise it reads the token from stdin.
Response (data object)
Errors
Examples
deel auth logout
Remove the stored token for the selected environment from the OS keychain. Tokens supplied through DEEL_TOKEN or --token-stdin are not affected.
Response (data object)
Example