DOCS / CLI REFERENCE

cluck logout

Removes local credentials.

Synopsis

cluck logout [--all]

Description

Removes local credentials. Use --all to revoke every token issued to this machine.

Options

FlagDescription
--allRevoke all tokens for this machine
--keep-configLeave 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

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Common errors

Related commands