---
title: "Deduplicate Data Subjects"
method: POST
path: "/api/consentmanager/v1/datasubjects/merge/{mergeRequestId}"
tags: ["Deduplicate Data Subjects"]
---

# Deduplicate Data Subjects

`POST /api/consentmanager/v1/datasubjects/merge/{mergeRequestId}`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/consentmanager/v1/datasubjects/merge/{mergeRequestId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `CONSENT`

Use this API to merge duplicate data subjects in order to consolidate existing Purpose statuses captured across the different identifiers into a single data subject profile.

> 🗒 Things to Know
> 
> - The [Create Scheduled Export](https://developer.onetrust.com/onetrust/reference/schedulemergerequestusingpost) API can be used to create scheduled exports of duplicate data subjects.
> - The [Generate Export of Duplicate Data Subjects](https://developer.onetrust.com/onetrust/reference/exportduplicatedatasubject) API can be used to generate exports that identify duplicate data subjects.

> 👍 
> 
> For more information, see [Merging Data Subjects](https://my.onetrust.com/s/article/UUID-87184a50-16e5-185a-36c2-2ca0b2e18372).

## Path parameters

- `mergeRequestId` string, uuid, required

## Response `200`

OK - Merge request has been successfully processed.

- string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `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.dev/onetrust/apis/consent-preferences-universal-consent-preference-management.md) - [All operations](https://skmtc.dev/onetrust/apis/consent-preferences-universal-consent-preference-management/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/consent-preferences-universal-consent-preference-management/revisions/fe4a0697ec9d?raw)
