---
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.

---

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