---
title: "PATCH /persongroups/{personGroupId}"
method: PATCH
path: "/persongroups/{personGroupId}"
---

# PATCH /persongroups/{personGroupId}

`PATCH /persongroups/{personGroupId}`

Update an existing person group's display name and userData. The properties which does not appear in request body will not be updated.

## Path parameters

- `personGroupId` string, required

## Request body

- NameAndUserDataContract — A combination of user defined name and user specified data for the person, largePersonGroup/personGroup, and largeFaceList/faceList.
  - `name` string — User defined name, maximum length is 128.
  - `userData` string — User specified data. Length should not exceed 16KB.

## Response `200`

A successful call returns an empty response body.

## Other responses

- `default` — Error response.

---

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