---
title: "Update a party of a case file"
method: PATCH
path: "/api/v1/cases/{caseId}/parties/{partyId}"
tags: ["Cases"]
---

# Update a party of a case file

`PATCH /api/v1/cases/{caseId}/parties/{partyId}`

## Request

- Base URL: `https://legal.nexusquantum.legal`
- URL: `https://legal.nexusquantum.legal/api/v1/cases/{caseId}/parties/{partyId}`
- Auth: HTTP bearer

Updates the fields of a party. Wraps PATCH /api/cases/[caseId]/parties/[partyId]. Firm-scoped OWNERSHIP. Scope `cases`/`mcp`/`*`. 0 credits.

## Path parameters

- `caseId` string, uuid, required
- `partyId` string, required

## Request body

- object
  - `name` string
  - `role` 'cliente' | 'contraparte' | 'testigo' | 'perito' | 'otro' | 'unknown': Spanish-language IDENTIFIERS, sent verbatim: `cliente` (client), `contraparte` (opposing party), `testigo` (witness), `perito` (expert witness), `otro` (other), `unknown`.
  - `entity_type` 'persona' | 'empresa' | 'entidad_publica' | 'otro': Spanish-language IDENTIFIERS, sent verbatim: `persona` (natural person), `empresa` (company), `entidad_publica` (public body), `otro` (other).
  - `notes` string

## Response `200`

{ party } updated.

- object

## Other responses

- `400`: VALIDATION_ERROR
- `404`: NOT_FOUND

---

[API](https://skmtc.dev/nexusquantum/apis/nexus-legal-api.md) · [All operations](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/revisions/4084d8d4eb0b?raw)
