# Create a new Teams user Creates a new user in the Teams user pool. Requires authentication and proper role permissions. The user must have permission to create users with the specified roles. Endpoint: POST /teams-auth/createuser Version: 1.0.0 Security: BearerAuth ## Request fields (application/json): - `email` (string, required) User email address Example: "newuser@example.com" - `password` (string, required) User password Example: "SecurePassword123!" - `roles` (array, required) Array of user roles (must have at least one role) Example: ["MAPPED_USER"] - `services` (array) Array of services the user has access to (optional, defaults to Teams) Example: ["Teams"] - `tenantId` (string) Tenant ID for the user (optional, auto-assigned if not provided) Example: "Sabrhub" - `enterpriseId` (string) Enterprise ID associated with the user (optional) Example: "E0000001" - `toMigrate` (boolean) Flag indicating if user should be migrated (default: false) - `notifyUser` (boolean) Whether to notify the user via email (default: true) Example: true ## Response 401 fields