auth
auth
Create Tenant
Create a new tenant owned by the signed-in user. Like signup, the route coordinates single-aggregate use cases in the one request transaction: the Tenant, the owner's Membership (NOT their default — they keep the tenant they're in; switch explicitly via POST /auth/session), and the tenant's un-deletable default brand (every tenant has exactly one). Refused on a single-tenant (on-prem) install, which is pinned to one tenant.
post/v1/auth/tenants
Request
- Base URL: https://api.elaan.io (the document declares no server; this is the origin it was published from)
- URL: https://api.elaan.io/v1/auth/tenants
- Auth: none declared
Headers
authorizationstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.