ArmorIQ LogoArmorIQ SDK
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 orgs

Output 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 key

Flags

FlagDescription
orgTarget org — either the UUID or the exact organization name
--key-nameOptional name for the new API key (default: cli-YYYY-MM-DD)

On this page