---
title: "Delete Personal Data Link"
method: DELETE
path: "/api/inventory/v2/inventories/{id}/personal-data"
tags: ["Inventory Relationships V1"]
---

# Delete Personal Data Link

`DELETE /api/inventory/v2/inventories/{id}/personal-data`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/inventory/v2/inventories/{id}/personal-data`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `INVENTORY`, `INVENTORY_WRITE`

Use this API to permanently delete a link between an inventory and personal data items.

## Path parameters

- `id` string, uuid, required

## Request body

- PersonalDataLinkRequest[]
  - `dataElement` ObjectReference
    - `id` string, uuid
    - `value` string
    - `valueKey` string
  - `dataCategory` ObjectReference
    - `id` string, uuid
    - `value` string
    - `valueKey` string
  - `dataSubjectType` ObjectReference
    - `id` string, uuid
    - `value` string
    - `valueKey` string
  - `linkAttributes` object: Map of attribute names to their values for the link
  - `metadata` PersonalDataMetadataRequest[]: List of metadata for the personal data link
    - `fieldMetadataMapId` string, uuid
    - `fieldName` string, required
    - `basePath` string
    - `subPath` string
    - `fieldType` string
    - `fieldValue` string
    - `fieldDescription` string
    - `fieldLabel` string
    - `systemType` string, required
    - `recordCount` integer
    - `key` string
    - `metadataId` string, uuid
    - `dataSourceId` string, uuid
  - `dataClassifications` ObjectReference[]: List of data classifications for the personal data link
    - `id` string, uuid
    - `value` string
    - `valueKey` string
  - `associationId` string, uuid: The unique identifier of the association

## Response `204`

No Content

## 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.dev/onetrust/apis/privacy-automation-data-mapping-automation.md) - [All operations](https://skmtc.dev/onetrust/apis/privacy-automation-data-mapping-automation/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/privacy-automation-data-mapping-automation/revisions/daead5d9fad6?raw)
