Register a tenant
POST/v1/auth/registerTenant
Registers a tenant in the form engine: creates the tenant admin role (with the super-admin role attached) and the tenant-scoped resources. Returns 400 when the tenant already exists. The response body is whatever the downstream registration created (role and resource IDs), so it is documented as a dynamic payload without a fixed schema.
Request
Responses
- 201
- 400
Tenant registered
Tenant already exists