---
title: "projets.update_project"
method: PATCH
path: "/api/v1/projets/{project_id}"
tags: ["Gestion de projets"]
---

# projets.update_project

`PATCH /api/v1/projets/{project_id}`

## Request

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

**Permissions requises** : `projets:write`

## Request body

- ProjectUpdate
  - `budget_consumed` number, nullable
  - `budget_planned` number, nullable
  - `client_id` string, uuid, nullable
  - `description` string, nullable
  - `end_date` string, date, nullable
  - `manager_id` string, uuid, nullable
  - `name` string
  - `priority` 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL'
  - `progress` integer
  - `site_id` string, uuid, nullable
  - `start_date` string, date, nullable
  - `status` 'DRAFT' | 'PLANNING' | 'IN_PROGRESS' | 'ON_HOLD' | 'COMPLETED' | 'CANCELLED'

## Response `200`

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

- object
  - `data` ProjectResponse
    - `budget_consumed` number
    - `budget_planned` number, nullable
    - `client_id` string, uuid, nullable
    - `client_name` unknown
    - `created_at` string, date-time
    - `description` string, nullable
    - `end_date` string, date, nullable
    - `id` string, uuid
    - `manager_id` string, uuid, nullable
    - `manager_name` unknown
    - `members` unknown
    - `milestones` MilestoneResponse[]
      - `completed_at` string, date-time, nullable
      - `created_at` string, date-time
      - `description` string, nullable
      - `due_date` string, date
      - `id` string, uuid
      - `project_id` string, uuid
      - `title` string
    - `name` string
    - `priority` string
    - `progress` unknown
    - `reference` string
    - `site_id` string, uuid, nullable
    - `site_name` unknown
    - `start_date` string, date, nullable
    - `status` string
    - `tasks` TaskResponse[]
      - `actual_cost` number, nullable
      - `actual_hours` number, nullable
      - `assignee_id` string, uuid, nullable
      - `assignee_name` unknown
      - `constraint_date` string, date, nullable
      - `constraint_type` string, nullable
      - `created_at` string, date-time
      - `description` string, nullable
      - `due_date` string, date, nullable
      - `duration_days` integer, nullable
      - `estimated_hours` number, nullable
      - `id` string, uuid
      - `is_milestone` boolean
      - `order` integer
      - `parent_task_id` string, uuid, nullable
      - `planned_cost` number, nullable
      - `priority` string
      - `progress` integer
      - `project_id` string, uuid
      - `required_skills` string[], nullable
      - `start_date` string, date, nullable
      - `status` string
      - `title` string
      - `wbs_number` string, nullable
    - `updated_at` string, date-time
  - `meta` PaginationMeta: Métadonnées de pagination cursor (cf. API-GUIDE §6).
    - `limit` integer
    - `next_cursor` string, nullable
    - `prev_cursor` string, nullable
    - `total_count` integer

## 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)
