CLI
armoriq orgs & switch-org
Multi-organization workflows
armoriq orgs and armoriq switch-org
Every API key is scoped to a single organization. If your account belongs to more than one org, use these commands to list them and mint a new key for a different one.
armoriq orgs
Lists every organization your logged-in account belongs to.
armoriq orgsOutput shows org id, name, and whether it's the currently active one.
Requires you to be logged in — run armoriq login first.
armoriq switch-org
Switches to a different organization. This mints a new API key scoped to the target org and updates your local credentials to use it.
armoriq switch-org "Acme Inc"
armoriq switch-org 5e1c1234-.... # by org id
armoriq switch-org "Acme Inc" --key-name prod-2026 # name the new keyFlags
| Flag | Description |
|---|---|
org | Target org — either the UUID or the exact organization name |
--key-name | Optional name for the new API key (default: cli-YYYY-MM-DD) |
Related
armoriq login --org <id-or-name>— pre-select an org at login timearmoriq whoami— show current org context