Create a tenant
POST/v1/organizations/:organization_id/tenants
Creates a new tenant and an associated organization for the specified owning organization. The tenant's name is also used as the name of the newly created organization. Requires product_config_id. Optionally supports policy assignment.
Request
Responses
- 201
- 400
- 401
- 404
- 422
- 429
- 500
Tenant and associated organization created successfully. Returns the tenant ID generated by the server.
Solicitud incorrecta. Causas comunes: - Cuerpo de solicitud o parámetros de ruta no válidos - Faltan campos obligatorios (name, product_config_id, organization_email, organization_language, organization_country, organization_industry) - Formato de id no válido
No autorizado - se requiere autenticación
No se encontró la organización propietaria
Unprocessable entity - Business logic validation error. Common causes: - Product config not found - Organization not eligible to create tenants - Organization does not exist in build - Organization has no eligible products - Invalid partner relationship - Organization and parent organization are end customers - Referenced entity not found
Too Many Requests
Internal Server Error