Update Employee

put/accounts/{accountId}/employees/{employeeId}

Updates a particular employee given the accountId and employeeId.

This is a complete update (the majority of fields in the body are required, or else they will be saved as null).

Note: Some changes are ignored in this process:

  • Employment Status (eg Current -> Terminated)
  • Changing branch IDs

These will be introduced as explicit actions (as they require more information than just the status change) in a future release.

Scope: manage:employees

Request

Path Parameters

NameTypeRequiredExampleDescription
accountIdstringrequired4eb62cb48c9f429c93bc26664c1a5a4d

Unique identifier of an account.

employeeIdstringrequiredb48c9f429c93bc26664c1a5a4d1273

Unique identifier of an employee within an account.

Request Body

    Responses

    Employee updated successfully
    © 2022 enableHR · All rights reserved