Update Employee
Update Employee
Modify an existing employee’s details
PATCH
Update Employee
Update Employee
Update an existing employee’s information. You can modify any combination of the employee’s fields.Partial Updates: Only include the fields you want to update. Fields not included in the request body will remain unchanged.
Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
The unique identifier (UUID) of the employee to updateExample:
550e8400-e29b-41d4-a716-446655440000Body Parameters
Employee’s full name (1-255 characters)Example:
"John Smith Jr."Employee’s email addressExample:
"john.smith.new@company.com"Employment situationAvailable values:
active, inactive, terminatedExample: "inactive"Data collection statusAvailable values:
uploaded, loadingExample: "uploaded"Response
Unique identifier (UUID)
Employee’s full name
Employee’s email address
Organization UUID
Employment status:
active, inactive, or terminatedData status:
uploaded or loadingList of commuting periods
Timestamp when the employee was created
Timestamp when the employee was last updated
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key404 Not Found
Cause: Employee not found or doesn’t belong to your organization422 Validation Error
Cause: Invalid field values or extra fieldssituation and status.
Use Cases
Update Employee Situation
Change an employee’s employment status:Update Employee Email
Change an employee’s email address:Update Multiple Fields
Update several fields at once:Mark Employee as Terminated
Handle employee offboarding:Bulk Update Employees
Update multiple employees’ status:Related Endpoints
Get Employee
View employee details
Delete Employee
Remove an employee
List Employees
View all employees
Update Commuting Period
Modify commuting data

