Register
Creates a new user account in the DriveX system. The password is automatically hashed using BCrypt before storage.Endpoint
Request Body
The desired username for the new account
The user’s email address (must be unique)
The user’s password in plain text (will be hashed automatically)
The user’s first name
The user’s last name
The user’s phone number
The user’s role in the system
Whether the user account should be active (defaults to system settings)
URL or path to the user’s profile image
Response
Success Response (200 OK)
Returns the created user object with the hashed password.Unique identifier for the newly created user
The user’s username
The user’s email address
The hashed password (BCrypt)
The user’s first name
The user’s last name
The user’s phone number
The user’s role in the system
Whether the user account is active
When the user account was created
When the user account was last updated
URL or path to the user’s profile image