---
title: "Delete Purposes from Data Subject"
method: DELETE
path: "/api/consentmanager/v2/datasubjects/profiles"
tags: ["Data Subjects V2"]
---

# Delete Purposes from Data Subject

`DELETE /api/consentmanager/v2/datasubjects/profiles`

Use this API to delete up to 100 purposes from one data subject or to delete one purpose from up to 100 data subjects.

> 🗒 Things to Know
> 
> - By default, related data subject transactions will be removed from the database and will no longer appear in the OneTrust Platform UI after calling this API. However, the transactions can still be retrieved using the [Get List of Receipts API](https://developer.onetrust.com/onetrust/reference/getreceiptlistdetailsusingpost). To maintain data subject transactions in the database and OneTrust Platform UI, set the `retainTransactions` parameter to `true`.

## Request body

- ConsentPreferencesUniversalConsentPreferenceManagDeletePurposeFromDataSubject
  - `purposes` string[] — The unique identifiers of the purposes.
  - `dataSubjects` string[] — The list of GUIDS for the data subject identifiers.
  - `retainTransactions` boolean — This flag indicates whether transactions will be retained while deleting purposes from data subjects. When set to `false`, transactions are removed from the database and no longer appear in the OneTrust Platform UI. However, these transactions are not permanently deleted and can still be retrieved using the [Get List of Receipts API](https://developer.onetrust.com/onetrust/reference/getreceiptlistdetailsusingpost).
  - `identifiers` string[] — The list of data subject identifiers for the data subjects.

## Response `200`

OK - Successfully processed deletion of purposes from data subjects.

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