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

# Update the account section for a given employee id.

`PUT /employees/{employeeId}/accounts`

## Request

- Base URL: `https://sandbox-api.kenjo.io/api/v1`
- URL: `https://sandbox-api.kenjo.io/api/v1/employees/{employeeId}/accounts`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/kenjo/apis/kenjo-api/docs/employees/:employeeId/accounts/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint updates the employee **account** section for a given employee id. The operation only updates the fields provided in the body.

## Path parameters

- `employeeId` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `email` string: The employee email in Kenjo. This is an unique identifier and required.
  - `externalId` string: The employee external id for integration proposals. This value must be unique.
  - `language` string: The employee language. Only is valid one of the following values 'en' (english), 'es' (spanish) or 'de' (german).

## Response `200`

OK

- object
  - `_id` string: The employee Kenjo *_id*.
  - `email` string: The employee email in Kenjo. This is an unique identifier and required.
  - `externalId` string: The employee external id for integration proposals.
  - `language` string: The employee language in integrations.

## 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.dev/kenjo/apis/kenjo-api.md) - [All operations](https://skmtc.dev/kenjo/apis/kenjo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kenjo/apis/kenjo-api/revisions/58772b78268e?raw)
