---
title: "Update name or userData of a person."
method: PATCH
path: "/persons/{personId}"
tags: ["PersonDirectory"]
---

# Update name or userData of a person.

`PATCH /persons/{personId}`

## Path parameters

- `personId` string, uuid, required

## Request body

- EnrollmentRequest
  - `name` string — User defined name, maximum length is 128.
  - `userData` string — User specified data. Length should not exceed 16KB.

## Response `200`

Success

## Other responses

- `default` — Response entity accompanying non-successful responses containing additional details about the error.

## Changes

- **2026-07-13** `8a19b734b92a` — 1 info
  - endpoint added
- **2017-12-28** `e67414f9aeba` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/cognitiveservices-face/changes/persons/:personId/patch.md)

---

[API](https://skmtc.dev/azure/apis/cognitiveservices-face.md) · [All operations](https://skmtc.dev/azure/apis/cognitiveservices-face/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/cognitiveservices-face/revisions/8a19b734b92a/schema)
