Synopsis
cluck logout [--all]
Description
Removes local credentials. Use --all to revoke every token issued to this machine.
Options
| Flag | Description |
|---|---|
--all | Revoke all tokens for this machine |
--keep-config | Leave config files in place |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck logout --all
✔ Revoked 3 tokens
✔ Removed credentials
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |