co auth — authentication
Log in, log out, and check your auth status
co auth manages your CollabOps authentication. It stores the API host, your token / session cookie, and the default workspace slug in one place.
co auth login
Logs in with email + password. If you already have a token, --token skips the password step.
co auth login
co auth login --host https://stage.collabops.ai --identifier you@collabops.ai
co auth login --token <PAT>| Flag | Description |
|---|---|
| --host <url> | API host, e.g. https://stage.collabops.ai |
| --identifier <email> | Email or username — skips the prompt |
| --token <token> | Use a Personal Access Token instead of a password |
| --workspace <slug> | Default workspace slug (e.g. collabops-one) |
On success the host, session cookie, and workspace are written to ~/.config/collabops/config.json (mode 0600), and the CLI verifies via /userprofile/me.
co auth status
Prints the current host, workspace, auth kind (cookie/token/none), and verifies the user.
co auth status
# Host: https://stage.collabops.ai
# Workspace: collabops-one
# Auth: ✓ cookie
# ✓ Authenticated as <your-name>co auth logout
Clears stored credentials only. Host and default workspace stay so you can log back in quickly.
co auth logoutRun co config path to see where the config file lives.