---
title: "Create Tenant"
method: POST
path: "/tenants"
---

# Create Tenant

`POST /tenants`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/tenants`
- Auth: none declared

## Request body

- TenantCreateRequest: Create a tenant (specs/multi-tenancy/v0.1 Phase 2). Global-admin only. The hostname's DNS/TLS/Ingress is provisioned off-system FIRST; this POST then registers the mapping and seeds the tenant (a default env + a one-time tenant-admin token). `id` is also the data-subtree name.
  - `id` string, required
  - `hostnames` string[], required
  - `display_name` string
  - `seed_profile` 'standard' | 'minimal'
  - `ingress_ready` boolean
  - `quota` object, nullable
  - `description` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
