Users - Management
User administrative management
📄️ List company users with pagination
Returns a paginated list of all users belonging to the authenticated user's company, excluding users with the 'dev' role.
📄️ Create new user (Admin only)
Create a new user for the company. Only administrators can create users.
📄️ Reset user password (Admin only)
Allows an administrator to reset the password of any user in the company, generating a new random password and sending it via email.
📄️ Get user details by ID
Returns the complete information of a specific company user.
📄️ Update user profile (Admin only)
Allows an administrator to edit the profile of any user in the company.
📄️ Delete user with soft delete (Admin only)
Permanently delete a user using soft delete (mongoose-delete).