POST /v1/tenants
TenantService_CreateTenant
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
billing_timezonestringcodestringdefault_currencystringidempotency_keystringnamestringtypestring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/tenants' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"billing_timezone": "<value>",
"code": "<value>",
"default_currency": "<value>",
"idempotency_key": "<value>",
"name": "<value>",
"type": "<value>"
}'Response contract
200 · OK
billing_timezonestringcodestringcreated_atstringdefault_currencystringidstringnamestringstatusstringtypestringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.