Update User
Update an existing user in your company. All fields except userId are optional.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Only provided fields will be updated Email must be unique within the company Password is hashed before storage Name field is auto-updated if firstName or lastName changes
userId
User ID to update
firstName
First name (1-100 chars, letters/spaces/hyphens only)
lastName
Last name (1-100 chars, letters/spaces/hyphens only)
email
Email (lowercase, max 255 chars, must be unique)
password
New password (8-128 chars, must contain lowercase, uppercase, number)
role
owner|hr|interviewer|recruiter
jobTitle
Job title (max 100 chars)
department
Department (max 100 chars)
phoneNumber
Phone number (max 20 chars)
isActive
User active status
otpLoginEnabled
Enable OTP login
externalId
External HRMS system ID (max 255 chars)
externalSource
Name of external HRMS system (max 100 chars)
metadata
Additional metadata from HRMS
Response
User updated successfully
success
data
message
timestamp
version
Errors
404
Not Found Error
409
Conflict Error