Interface: CreateTenantResponse
@kortexya/reasoninglayer / CreateTenantResponse
Interface: CreateTenantResponse
Section titled “Interface: CreateTenantResponse”Defined in: src/types/admin.ts:320
Response for the create-tenant operation.
Remarks
Section titled “Remarks”Reports whether the tenant was newly created (vs. already existed, since the operation is idempotent), how many seed sorts were inserted, and the provisioned tenant UUID.
Properties
Section titled “Properties”created
Section titled “created”created:
boolean
Defined in: src/types/admin.ts:322
true if the tenant was newly created; false if it already existed (idempotent).
optionalname?:string|null
Defined in: src/types/admin.ts:336
The label now stored for the tenant, when one is set.
Remarks
Section titled “Remarks”The stored (trimmed) label, not the request echo. null when no label is stored.
seededSorts
Section titled “seededSorts”seededSorts:
number
Defined in: src/types/admin.ts:325
Number of seed sorts successfully inserted into the tenant hierarchy.
tenantId
Section titled “tenantId”tenantId:
string
Defined in: src/types/admin.ts:328
The provisioned tenant UUID (echoes the request or the generated value).