---
title: "Delete Data Subject"
method: DELETE
path: "/rest/api/consent/v4/data-subjects"
tags: ["Data Subjects V4"]
---

# Delete Data Subject

`DELETE /rest/api/consent/v4/data-subjects`

Initiates a TTL-based deletion process for a data subject

## Request body

- ConsentAPIDataSubjectDeleteRequestV4
  - `identifier` string, required — The data subject identifier of the data subject.
  - `retainReceipts` boolean, required — This flag indicates whether receipts will be retained while deleting 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](https://developer.onetrust.com/onetrust/reference/getreceiptlistdetailsusingpost).

## Response `200`

Deletion Request using TTL has been accepted

## Other responses

- `400` — Missing retainReceipts flag in the request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Unable to find a datasubject with given identifier
- `422` — Missing identifier(or)additionalidentifier in the request
- `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)
