Skip to main content
The auth command manages your CLI authentication. API keys are stored locally so you can switch between teams without re-entering credentials.

login

Authenticate with your Loops API key. You’ll be prompted to paste the key interactively.
loops auth login --name my-team

Flags

FlagShortDescription
--name-nName for this API key (e.g. my-team)
--skip-verifySave the API key without verifying it

list

List all stored API keys.
loops auth list

status

Print the resolved configuration, including which API key is currently active.
loops auth status

use

Set or clear the active API key. Pass the name of a stored key to switch to it.
loops auth use my-team
To clear the active team selection:
loops auth use --clear

Flags

FlagDescription
--clearClear the active team

logout

Remove a stored API key.
loops auth logout --name my-team
To remove all stored credentials, run logout without a name flag — you’ll be prompted to confirm.

Flags

FlagShortDescription
--name-nName of the API key to remove
Last modified on April 7, 2026