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

userIdstringRequiredformat: "uuid"
User ID to update
firstNamestringOptional

First name (1-100 chars, letters/spaces/hyphens only)

lastNamestringOptional

Last name (1-100 chars, letters/spaces/hyphens only)

emailstringOptionalformat: "email"

Email (lowercase, max 255 chars, must be unique)

passwordstringOptional

New password (8-128 chars, must contain lowercase, uppercase, number)

rolestringOptional

owner|hr|interviewer|recruiter

jobTitlestringOptional

Job title (max 100 chars)

departmentstringOptional

Department (max 100 chars)

phoneNumberstringOptional

Phone number (max 20 chars)

isActivebooleanOptional
User active status
otpLoginEnabledbooleanOptional
Enable OTP login
socialLoginEnabledbooleanOptional
Enable social login
externalIdstringOptional

External HRMS system ID (max 255 chars)

externalSourcestringOptional

Name of external HRMS system (max 100 chars)

metadatamap from strings to anyOptional
Additional metadata from HRMS

Response

User updated successfully
successboolean
dataobject
messagestring
timestampstring
versionstring

Errors

404
Not Found Error
409
Conflict Error