---
title: "Partial update of an employee."
method: PATCH
path: "/api/v1/rh/employes/{employee_id}"
tags: ["Ressources Humaines"]
---

# Partial update of an employee.

`PATCH /api/v1/rh/employes/{employee_id}`

## Request

- Base URL: `https://erp.eyeot.fr/api/v1`
- URL: `https://erp.eyeot.fr/api/v1/api/v1/rh/employes/{employee_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

**Permissions requises** : `rh:write`

## Request body

- EmployeeUpdate
  - `business_unit_id` string, uuid, nullable
  - `cba_id` string, uuid, nullable
  - `department` string
  - `email` string, email
  - `first_name` string
  - `hire_date` string, date
  - `last_name` string
  - `manager_id` string, uuid, nullable
  - `nir` string, nullable
  - `phone` string
  - `position` string
  - `site_id` string, uuid, nullable
  - `user_id` string, uuid, nullable

## Response `200`

Succès — payload `{data, meta}` (cf. API-GUIDE §3.1)

## Other responses

- `400`: Validation Marshmallow échouée. `errors` détaille chaque champ invalide.
- `401`: JWT manquant, expiré ou révoqué.
- `402`: L'organisation n'a pas d'abonnement actif (paywall). Rediriger vers /activate.
- `403`: Permissions `module:action` insuffisantes pour cette route.
- `404`: Ressource introuvable (ou cross-tenant — équivalent à hidden).
- `409`: État incohérent (email dupliqué, ressource déjà dans cet état, etc.).
- `422`: Validation Marshmallow échouée. `errors` détaille chaque champ invalide.
- `429`: Trop de requêtes. Honorer le header `Retry-After` (secondes).

---

[API](https://skmtc.dev/eyeot/apis/eyeot-erp-api.md) · [All operations](https://skmtc.dev/eyeot/apis/eyeot-erp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eyeot/apis/eyeot-erp-api/revisions/42ab95222a89?raw)
