Tenants

Tenant lifecycle management

List all tenants in a fabric

get
/fabrics/{fabricName}/tenants

Retrieves all tenants in a given fabric.

Path parameters
fabricNamestringRequired

Name of the fabric. Required in every API request.

Example: Fabric2SU
Responses
chevron-right
200

List of tenants retrieved successfully

application/json
get
/fabrics/{fabricName}/tenants

Create a new tenant

post
/fabrics/{fabricName}/tenants

Creates a new tenant in the specified fabric. ONES provisions network-level isolation across East-West, North-South, and Storage networks.

Tenant name rules: Must start with a letter and contain only letters, numbers, underscores (_), or dashes (-). No spaces or special characters allowed.

Path parameters
fabricNamestringRequired

Name of the fabric. Required in every API request.

Example: Fabric2SU
Body
tenantNamestringRequired

Unique name for the tenant within the fabric. Must start with a letter; only letters, numbers, underscores (_), and dashes (-) are allowed.

Example: pepsiPattern: ^[a-zA-Z][a-zA-Z0-9_-]*$
descriptionstringRequired

Human-readable description of the tenant's purpose.

Example: GPU cluster for ML training workloads
maxGpusAllowedintegerRequired

Maximum number of GPU servers allowed for this tenant. Use -1 for unlimited.

Example: 16
sharedbooleanOptional

If true, this tenant operates in shared mode. Only applicable on fabrics created with tenant-unaware options. Network segmentation is managed by VMs on the server, not by ONES.

Default: falseExample: false
Responses
post
/fabrics/{fabricName}/tenants

Get tenant details

get
/fabrics/{fabricName}/tenants/{tenantName}

Retrieves detailed information for a specified tenant, including network constructs, allocated hosts, VLAN/VNI assignments, and IP pool details.

Path parameters
fabricNamestringRequired

Name of the fabric. Required in every API request.

Example: Fabric2SU
tenantNamestringRequired

Name of the tenant.

Example: coke
Responses
chevron-right
200

Tenant details retrieved successfully

application/json
get
/fabrics/{fabricName}/tenants/{tenantName}

Delete a tenant

delete
/fabrics/{fabricName}/tenants/{tenantName}

Deletes a tenant from the specified fabric.

Deletion Policy: A tenant cannot be deleted while any GPUs remain allocated to it. Deallocate all GPU servers first. If allocations still exist, the API returns a 409 with a warning message.

Path parameters
fabricNamestringRequired

Name of the fabric. Required in every API request.

Example: Fabric2SU
tenantNamestringRequired

Name of the tenant.

Example: coke
Responses
chevron-right
200

Tenant deleted successfully

application/json
messagestringOptionalExample: Tenant deleted successfully.
delete
/fabrics/{fabricName}/tenants/{tenantName}

Last updated