Tenant commands require a workspace ID, either from your profile or via the
-w flag. Most tenant commands identify tenants by their name (e.g., t1234-abcd-xyz1), not a numeric ID.CRUD
List Tenants
Terminal
-o json for the full JSON response.
Get Tenant Details
Terminal
Create a Tenant
Terminal
| Argument / Flag | Description |
|---|---|
display | Display name (required, positional) |
-d | Description |
--license | License tier: tier1 (default), tier2, tier3 |
--cluster_id | Cluster ID (required for tier2/tier3) |
--platform_id | Platform ID to use |
--domain | Custom domain |
--ephemeral | Mark tenant as ephemeral (allows push operations) |
--[no-]ingress | Enable/disable ingress (default: enabled) |
--[no-]tasks | Enable/disable background tasks (default: enabled) |
-w | Workspace ID |
-o | Output format: summary or json |
Edit a Tenant
Terminal
--domain, --proxy, --[no-]ingress, --[no-]tasks, --[no-]rbac.
Delete a Tenant
Terminal
-f to skip the confirmation prompt.
Impersonate
Open a tenant’s dashboard in your browser, or retrieve the impersonation URL for scripting.Terminal
Terminal
Terminal
Pull & Push
You can pull a tenant’s content down as local XanoScript files, or push local files to a tenant. This works the same way as workspace pull & push, but targets a specific tenant.Pull a Tenant
Terminal
| Flag | Description |
|---|---|
-t | Tenant name (required) |
--env | Include environment variables |
--records | Include database records |
--draft | Include draft versions of resources |
-w | Workspace ID |
Push to a Tenant
Terminal
| Flag | Description |
|---|---|
-t | Tenant name (required) |
--no-records | Skip importing table records |
--no-env | Skip overwriting environment variables |
--truncate | Truncate all table records before importing |
-w | Workspace ID |
Deployments
Deploy a Release
Deploy a release to a tenant by name:Terminal
Deploy a Platform
Terminal
Tenant License
Terminal
Tenant Environment Variables
Manage environment variables on a per-tenant basis.List Env Var Keys
Terminal
Get a Single Env Var
Terminal
Set an Env Var
Terminal
Delete an Env Var
Terminal
Export All Env Vars
Export all environment variables to a YAML file:Terminal
Import All Env Vars
Import environment variables from a YAML file (replaces existing):Terminal
Tenant Backups
List Backups
Terminal
--page for pagination.
Create a Backup
Terminal
Restore from a Backup
Terminal
-f to skip confirmation.
Export a Backup
Download a backup as a.tar.gz file:
Terminal
--output:
Terminal
Import a Backup
Import a backup file into a tenant:Terminal
Delete a Backup
Terminal
-f to skip the confirmation prompt.
Clusters
Manage tenant clusters for multi-tenant deployments.List Clusters
Terminal
Get Cluster Details
Terminal
Create a Cluster
Terminal
| Flag | Description |
|---|---|
--name | Cluster name (required) |
--credentials_file | Path to kubeconfig YAML file |
--type | Cluster type (e.g., run) |
-d | Description |
Edit a Cluster
Terminal
Delete a Cluster
Terminal
-f to skip the confirmation prompt.
Cluster License (Kubeconfig)
Terminal