v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Data Subjects V4

Delete Purposes from Data Subjects

Initiates TTL-based deletion of specific purposes from data subjects

delete/rest/api/consent/v4/data-subjects/profiles

Request body

purposesstring[] required

The unique identifiers of the purposes.

identifierstring required

The data subject identifier of the data subject.

retainReceiptsboolean

This flag indicates whether receipts will be retained while deleting purposes from data subjects. When set to false, receipts are removed from the database and no longer appear in the OneTrust Platform UI. However, these receipts are not permanently deleted and can still be retrieved using the Get List of Receipts API.

Example request

{
  "purposes": [
    "550e8400-e29b-41d4-a716-446655440000",
    "550e8400-e29b-41d4-a716-446655440001"
  ],
  "identifier": "user-12345@ot.com"
}

Response

Accepted request to delete purposes from DataSubjects using TTL

string required