# Create a new user Endpoint: POST /users Version: 1.0 Security: bearer ## Request fields (application/json): - `email` (string, required) The email of the user Example: "john.doe@example.com" - `firstName` (string, required) The first name of the user Example: "John" - `lastName` (string, required) The last name of the user Example: "Doe" - `password` (string, required) The password of the user Example: "password123" - `isEnabled` (boolean) Indicates if the user is enabled Example: true - `organizationId` (number) The organization ID Example: 1 - `brandId` (number) The brand ID Example: 1 - `siteId` (number) The site ID Example: 1 - `role` (string, required) The role of the user Enum: "ADMIN", "ORGANIZATION_USER", "BRAND_USER", "SITE_USER", "CLIENT_ACCOUNT_USER", "SITE_MANAGER_USER" - `clientAccountId` (array) List of client account IDs Example: [1,2,3] ## Response 401 fields (application/json): - `message` (string, required) Error message indicating unauthorized access. Example: "Unauthorized" - `statusCode` (number, required) HTTP status code for unauthorized access. Example: 401 ## Response 201 fields ## Response 400 fields