Tenant Management API
| Action | Endpoint |
|---|---|
| Fetch My Tenants | GET/auth/tenants/mytenants/list |
| Fetch Tenant Details | GET/auth/tenants/{locator} |
| Create a Tenant | POST/config/createTenant |
| Fetch all Tenants in the Environment | GET/auth/tenants/list |
| Update a Tenant | PATCH/auth/tenants/{locator} |
| Retire a Tenant | PATCH/auth/tenants/{locator}/retire |
| Clone to a Test Tenant | POST/config/{tenantLocator}/deployments/cloneTest |
| Clone to a Production tenant | POST/config/{tenantLocator}/deployments/cloneProduction |
Fetch My Tenants
Fetch My Tenants
fetchMyTenantsGET
/auth/tenants/mytenants/listReturns a list of tenants you have access to.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
offset | query | integer? | No | |
count | query | integer? | No | |
extended | query | boolean? | No | When false, returns a bare array. |
Response:
TenantListResponseSecurity Group:
tenantsPermission:
customTenantListResponse
Required properties
| Property | Type | Description |
|---|---|---|
listCompleted | boolean | |
items | TenantResponse[] |
Fetch Tenant Details
Fetch Tenant Details
fetchTenantGET
/auth/tenants/{locator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
locator | path | uuid | Yes |
Response:
TenantResponseSecurity Group:
tenantsPermission:
readTenantResponse
Required properties
| Property | Type | Description |
|---|---|---|
locator | uuid | |
name | string | |
businessAccount | string | |
type | Enum test | production | retired | deleted | |
updatedAt | datetime | |
createdAt | datetime | |
createdBy | uuid |
Optional properties
| Property | Type | Description |
|---|---|---|
description | string? |
Create a Tenant
Create a Tenant
createTenantPOST
/config/createTenantParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | query | string? | No | |
description | query | string? | No |
Request with application/zip:
ConfigurationRefRequest with multipart/form-data:
ConfigurationRefResponse:
TenantDeploymentResultSecurity Group:
tenantsPermission:
create-tenantTenantDeploymentResult
Required properties
| Property | Type | Description |
|---|---|---|
locator | uuid | |
name | string | |
bootstrapResult | BootstrapResult | |
deploymentResult | ConfigBuilderResult |
Fetch all Tenants in the Environment
Fetch all Tenants in the Environment
fetchTenantsGET
/auth/tenants/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
offset | query | integer? | No | |
count | query | integer? | No | |
type | query | string[]? | No | |
extended | query | boolean? | No |
Response:
TenantResponse[]Security Group:
tenantsPermissions:
read,listUpdate a Tenant
Update a Tenant
updateTenantPATCH
/auth/tenants/{locator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
locator | path | uuid | Yes |
TenantUpdateRequest
Required properties
| Property | Type | Description |
|---|---|---|
name | string | |
description | string |
Retire a Tenant
Retire a Tenant
retireTenantPATCH
/auth/tenants/{locator}/retireParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
locator | path | uuid | Yes |
Response:
TenantResponseSecurity Group:
tenantsPermission:
retireCloning
Clone to a Test Tenant
Clone to a Test Tenant
cloneConfigToTestPOST
/config/{tenantLocator}/deployments/cloneTestParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
tenantName | query | string? | No | |
tenantDescription | query | string? | No |
Response:
DeploymentCloneResponseSecurity Group:
deploymentsPermission:
cloneTestClone to a Production tenant
Clone to a Production tenant
cloneConfigToProductionPOST
/config/{tenantLocator}/deployments/cloneProductionParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
tenantName | query | string? | No | |
tenantDescription | query | string? | No |
Response:
DeploymentCloneResponseSecurity Group:
deploymentsPermission:
cloneProductionDeploymentCloneResponse
Required properties
| Property | Type | Description |
|---|---|---|
locator | uuid | |
deploymentResult | ConfigBuilderResult | |
resourceCloneStatus | Enum queued | failed |