---
title: "Update the personal section for a given employee id."
method: PUT
path: "/employees/{employeeId}/personals"
tags: ["Employees"]
---

# Update the personal section for a given employee id.

`PUT /employees/{employeeId}/personals`

This endpoint updates the employee **personal** section for a given employee id. The operation only updates the fields provided in the body.
<br><br>**Custom fields** information can be provided in this operation. The *API name* of the custom field is required and the data format has to match with the type defined for the custom field in Kenjo.
API names start with 'c_' and the rest is composed by the trimmed name (spaces are removed).
<br><br>
Example:
<br>
*The custom field 'category' belongs to the 'personal' section*:
  ```
  {
    ...,
    "lastName": "Nadie",
    "c_category": "Good",
    ...
  }
```
*'category' is a field type 'List' (Strings list) with the possible values: "Good" and "Bad". It means that if a different value or type is provided then the request will return an error.*

## Path parameters

- `employeeId` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `firstName` string — The name of the Kenjo employee. This field is required.
  - `lastName` string — The surname of the Kenjo employee. This field is required.
  - `displayName` string — The composition of firstName and lastName of the Kenjo employee.
  - `gender` string — The gender of the Kenjo employee. Only is valid one of the following values 'Male' (male), 'Female' (female) or 'Other' (other).
  - `birthdate` string — The employee birth date. Format YYYY-MM-DDThh:mm:ss.000Z.
  - `nationality` string — The employee nationality. The nationality must be the first letter in uppercase. Example "Spanish", "Brazilian"

## Response `200`

OK

- object
  - `_id` string — The employee Kenjo *_id*.
  - `firstName` string — The name of the Kenjo employee. This field is required.
  - `lastName` string — The surname of the Kenjo employee. This field is required.
  - `displayName` string — The composition of firstName and lastName of the Kenjo employee.
  - `gender` string — The gender of the Kenjo employee.
  - `birthdate` string — The employee birth date. Format YYYY-MM-DDThh:00:00.000Z.
  - `nationality` string — The employee nationality. The nationality must be the first letter in uppercase. Example "Spanish", "Brazilian"

## Other responses

- `400` — BAD REQUEST. This is a wrong request in the client side due to invalid body or params.
- `401` — UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.

---

[API](https://skmtc.net/kenjo/apis/kenjo-api.md) · [All operations](https://skmtc.net/kenjo/apis/kenjo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kenjo/kenjo-api/revisions/58772b78268e/schema)
