Skip to content

TenantCreate

Create a new Tenant

Endpoint: /api/tenant/tenantcreate

Tags: Tenant

API Details

POST /api/tenant/tenantcreate
schema: z.object({
name: Str({ description: "Name of the tenant" }),
settings: z.record(z.any()).optional().describe("Tenant-specific settings"),
complianceTier: z.nativeEnum(ComplianceTier).optional().default(ComplianceTier.Standard),
preferredRegion: z.string().optional(),
dataResidencyRequirements: z.array(z.string()).optional(),
}),

Returns the created tenant

schema: z.object({
success: Bool(),
tenant: Tenant,
}),

Bad request

schema: z.object({
success: Bool(),
error: Str(),
}),

View Source