# OneTrust Platform — Inventory

**Canonical:** https://apis.io/apis/onetrust/platform-inventory/  
**Provider:** OneTrust — https://apis.io/providers/onetrust/  
**Base URL:** https://app.onetrust.com  
**Documentation:** https://developer.onetrust.com/onetrust/reference/inventory-relationships-v2

OneTrust Platform — Inventory is one of 37 APIs that [OneTrust](https://apis.io/providers/onetrust/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Inventory Relationships V2 and Relationship Management. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The Inventory APIs are used to manage relationships and link data within the inventory. (13 operatio ns.)

## Operations (13)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/inventory-linking/v1/contextual-entities/inventory/{inventoryId}/pages` | Get List of Relationships |
| PUT | `/api/inventory-linking/v1/contextual-entities/{contextualLinkId}/contextual-entity-types/names/{entityTypeName}` | Update Relationship by Type Name |
| PUT | `/api/inventory-linking/v1/contextual-entities/{contextualLinkId}/contextual-entity-types/names/{entityTypeName}/data-elements` | Link or Unlink Personal Data to Relationship by Type Name |
| POST | `/api/inventory-linking/v1/contextual-entities/{contextualLinkId}/contextual-entity-types/names/{entityTypeName}/data-elements/pages` | Get Personal Data for Relationship by Type Name |
| PUT | `/api/inventory-linking/v1/contextual-entities/{contextualLinkId}/contextual-entity-types/{entityTypeId}` | Update Relationship by Type ID |
| PUT | `/api/inventory-linking/v1/contextual-entities/{contextualLinkId}/contextual-entity-types/{entityTypeId}/data-elements` | Link or Unlink Personal Data to Relationship by Type ID |
| POST | `/api/inventory-linking/v1/contextual-entities/{contextualLinkId}/contextual-entity-types/{entityTypeId}/data-elements/pages` | Get Personal Data for Relationship by Type ID |
| POST | `/api/inventory-linking/v1/inventories/relations` | Create Relationship |
| POST | `/api/inventory-linking/v1/relationship` | Create Relationship |
| GET | `/api/inventory-linking/v1/relationship-types/names/{relationshipTypeName}/relationship/{relationshipId}` | Get Relationship by Type Name |
| DELETE | `/api/inventory-linking/v1/relationship-types/names/{relationshipTypeName}/relationship/{relationshipId}` | Delete Relationship by Type Name |
| GET | `/api/inventory-linking/v1/relationship-types/{relationshipTypeId}/relationship/{relationshipId}` | Get Relationship by Type ID |
| DELETE | `/api/inventory-linking/v1/relationship-types/{relationshipTypeId}/relationship/{relationshipId}` | Delete Relationship by Type ID |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/openapi/onetrust-platform-inventory-openapi.json
- **Documentation** — https://developer.onetrust.com/onetrust/reference/inventory-relationships-v2
- **Overlay** — https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/overlays/onetrust-platform-inventory-overlay.yaml

## Other OneTrust APIs (12)

- [OneTrust AI Governance — AI Governance](https://apis.io/apis/onetrust/ai-governance-ai-governance/)
- [OneTrust Platform — Global Activity](https://apis.io/apis/onetrust/platform-global-activity/)
- [OneTrust Consent & Preferences — Consent Interfaces](https://apis.io/apis/onetrust/consent-and-preferences-consent-interfaces/)
- [OneTrust Consent & Preferences — Consent Management Platform (CMP)](https://apis.io/apis/onetrust/consent-and-preferences-consent-management-platform-cmp/)
- [OneTrust Consent & Preferences — Consent Receipts](https://apis.io/apis/onetrust/consent-and-preferences-consent-receipts/)
- [OneTrust Consent & Preferences — Cookie Consent](https://apis.io/apis/onetrust/consent-and-preferences-cookie-consent/)
- [OneTrust Consent & Preferences — Cookie Consent (Swagger)](https://apis.io/apis/onetrust/consent-and-preferences-cookie-consent-swagger/)
- [OneTrust Consent & Preferences — Cookie Domain Data](https://apis.io/apis/onetrust/consent-and-preferences-cookie-domain-data/)
- [OneTrust Consent & Preferences — Cross-Device Consent](https://apis.io/apis/onetrust/consent-and-preferences-cross-device-consent/)
- [OneTrust Consent & Preferences — Mobile App Consent](https://apis.io/apis/onetrust/consent-and-preferences-mobile-app-consent/)
- [OneTrust Consent & Preferences — Policy & Notice Management](https://apis.io/apis/onetrust/consent-and-preferences-policy-and-notice-management/)
- [OneTrust Consent & Preferences — Universal Consent & Preference Management (OAS)](https://apis.io/apis/onetrust/consent-and-preferences-universal-consent-and-preference-management-oas/)

## Tags

Inventory Relationships V2, Relationship Management

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/onetrust/platform-inventory/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/onetrust/.
