Follow the question structure recommended by Dev Bot before submitting your integration questions.
| Field | Type | Required | Description |
|---|---|---|---|
deletePermissions | boolean | No | Delete all existing permissions assigned to the specified staff member. Default: false |
overwritePermissions | boolean | No | Replace all existing permissions with the permissions provided in the permissions array. When set to false, new permissions are incrementally added to existing permissions. Default: false |
updatePermissionsOnly | boolean | No | Update only the permissions of the employee, without changing any other information. Default: false |
idBranch | int32 | No | Filter by branch number (only applicable for multi-location keys; ignored otherwise). |
| Field | Type | Required | Description |
|---|---|---|---|
idEmployee | integer | Yes | Unique ID of the employee to be updated. |
name | string | Yes | Name of the employee. |
lastName | string | No | Last name of the employee. |
document | string | No | Identification document (e.g., CPF or RG). |
documentId | string | No | ID of the identification document. |
cellphone | string | No | Employee's mobile phone number. |
email | string | No | Employee's email. |
gender | string | No | Gender of the employee. |
birthday | datetime | No | Employee's date of birth (ISO 8601 format). |
country | string | No | Country of residence of the employee. |
address | string | No | Complete address of the employee. |
state | string | No | State of residence of the employee. |
city | string | No | City of residence of the employee. |
passport | string | No | Passport number (if applicable). |
zipCode | string | No | Postal code (CEP) of the employee's address. |
complement | string | No | Address complement. |
neighborhood | string | No | Neighborhood of residence. |
number | string | No | Residential address number. |
active | boolean | No | Status of the employee. |
employeeBranchPermissionsList | array | No | List of permissions for the employee. |