---
title: "Update Data Subject Group"
method: PUT
path: "/rest/api/consent/v4/linkedidentitygroups/{dataSubjectGroupId}"
tags: ["Data Subject Groups V4"]
---

# Update Data Subject Group

`PUT /rest/api/consent/v4/linkedidentitygroups/{dataSubjectGroupId}`

Use this API to update an existing Data Subject Group.

> 🗒 Things to Know
>
> - Data Subject Groups must contain at least one primary data subject identifier and two data subjects.
> - To update the Data Subject Group name, use the `groupName` parameter and enter a new name different from the one already in use.

## Path parameters

- `dataSubjectGroupId` string, uuid, required

## Request body

- ConsentAPILinkedIdentityGroupRequestDto
  - `groupName` string, required — A user-defined name for the group of linked identities.
  - `memberIdentifiers` string[], required — A list of all member identifiers that belong to the group.
  - `primaryIdentifiers` string[], required — A List of all identifiers that are primary identifiers. The members in this list need not be present in member identifiers list as they are mutually exclusive.

## Response `200`

OK

- ConsentAPILinkedIdentityGroupResponseDto
  - `id` string — Unique identifier of the linked identity group
  - `createdDate` string, date-time — Date and time when the group was created
  - `groupName` string — Name of the group
  - `primaryDataSubjects` ConsentAPILinkedIdentityGroupDataSubjectResponseDto[] — List of primary data subjects in the group
    - `id` string, uuid — Unique identifier (UUID) of the data subject
    - `identifier` string — The original identifier value for the data subject
    - `identifierType` string — Type of identifier (e.g., EMAIL, PHONE)
    - `addedDate` string, date-time — Date and time when the data subject was added to the group
  - `memberDataSubjects` ConsentAPILinkedIdentityGroupDataSubjectResponseDto[] — List of member data subjects in the group
    - `id` string, uuid — Unique identifier (UUID) of the data subject
    - `identifier` string — The original identifier value for the data subject
    - `identifierType` string — Type of identifier (e.g., EMAIL, PHONE)
    - `addedDate` string, date-time — Date and time when the data subject was added to the group

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
