---
title: "Update partiel d'un PIA (étapes 2 à 7 du wizard)."
method: PATCH
path: "/api/v1/compliance/gdpr/pia/{pia_id}"
tags: ["Conformité & RGPD"]
---

# Update partiel d'un PIA (étapes 2 à 7 du wizard).

`PATCH /api/v1/compliance/gdpr/pia/{pia_id}`

## Request

- Base URL: `https://erp.eyeot.fr/api/v1`
- URL: `https://erp.eyeot.fr/api/v1/api/v1/compliance/gdpr/pia/{pia_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Update partiel d'un PIA (étapes 2 à 7 du wizard).

    Refusé si status `in_review` ou `approved` (figés).

**Permissions requises** : `compliance:write`

## Request body

- PiaUpdate
  - `decision` 'proceed' | 'modify' | 'abandon' | 'null', nullable
  - `decision_rationale` string, nullable
  - `description` string, nullable
  - `dpo_advice` string, nullable
  - `dpo_consultation_date` string, date, nullable
  - `finality` string, nullable
  - `mitigation_measures` MitigationItem[]
    - `effectiveness` 'low' | 'medium' | 'high' | 'null', nullable
    - `measure` string, required
    - `residual_risk` string, nullable
  - `necessity_proportionality` string, nullable
  - `processing_activity_id` string, uuid, nullable
  - `residual_risk_level` 'low' | 'medium' | 'high' | 'null', nullable
  - `risks_identified` RiskItem[]
    - `impact` string, nullable
    - `likelihood` 'low' | 'medium' | 'high' | 'null', nullable
    - `risk` string, required
    - `severity` 'low' | 'medium' | 'high' | 'null', 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)
