- CLI Reference
- Commands
- ironflow tenant
ironflow tenant
Provision and list tenant organizations. Tenants provide multi-tenancy by atomically creating an organization, built-in roles, and a default environment.
ironflow tenant <subcommand> [flags]Subcommands:
| Subcommand | Description |
|---|---|
provision | Provision a new tenant organization |
list | List all tenants |
ironflow tenant provision
Section titled “ironflow tenant provision”Atomically create an organization, built-in roles, and a default environment.
ironflow tenant provision [flags]Flags:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--name | string | Organization name (required) | ||
--env | string | Environment name (default: production) | ||
--server | -s | string | Server URL override |
Output:
Created org: Acme Corp (org_abc123)Created env: production (env_def456)Admin API Key: ak_abc123...Examples:
# Provision a new tenant with default environmentironflow tenant provision --name "Acme Corp"
# Provision with a custom environment nameironflow tenant provision --name "Acme Corp" --env stagingironflow tenant list
Section titled “ironflow tenant list”List all tenant organizations with their environment and key counts.
ironflow tenant list [flags]Flags:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--json | bool | false | Output as JSON | |
--server | -s | string | Server URL override |
Output:
ID NAME ENVS KEYS CREATEDorg_abc123 Acme Corp 1 2 2026-01-01T00:00:00Zorg_def456 Widget Inc 2 3 2026-02-15T00:00:00ZExamples:
ironflow tenant listironflow tenant list --json