# OneTrust Inventory Relationships V2 API

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

OneTrust Inventory Relationships V2 API is one of 138 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. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The Inventory Relationships V2 APIs are used to manage V2 inventory relationships.

## Operations (12)

| 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 |
| 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 (38)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/openapi/onetrust-inventory-relationships-v2-api-openapi.yml
- **Documentation** — https://developer.onetrust.com/onetrust/reference/attribute-management
- **Documentation** — https://developer.onetrust.com/onetrust/reference/activity-log
- **Documentation** — https://developer.onetrust.com/onetrust/reference/preferences-v2
- **Documentation** — https://developer.onetrust.com/onetrust/reference/banner
- **Documentation** — https://developer.onetrust.com/onetrust/reference/consent-receipts
- **Documentation** — https://developer.onetrust.com/onetrust/reference/applications
- **Documentation** — https://developer.onetrust.com/onetrust/reference/categorizations
- **Documentation** — https://developer.onetrust.com/onetrust/reference/domain-data
- **Documentation** — https://developer.onetrust.com/onetrust/reference/preferences
- **Documentation** — https://developer.onetrust.com/onetrust/reference/mobile-app-data
- **Documentation** — https://developer.onetrust.com/onetrust/reference/privacy-notice-v2
- **Documentation** — https://developer.onetrust.com/onetrust/reference/collection-points
- **Documentation** — https://developer.onetrust.com/onetrust/reference/catalog-search-v1
- **Documentation** — https://developer.onetrust.com/onetrust/reference/classification
- **Documentation** — https://developer.onetrust.com/onetrust/reference/custom-scan
- **Documentation** — https://developer.onetrust.com/onetrust/reference/carbon-management
- **Documentation** — https://developer.onetrust.com/onetrust/reference/audit-records
- **Documentation** — https://developer.onetrust.com/onetrust/reference/bulk-export
- **Documentation** — https://developer.onetrust.com/onetrust/reference/attachments
- **Documentation** — https://developer.onetrust.com/onetrust/reference/system-credentials
- **Documentation** — https://developer.onetrust.com/onetrust/reference/inventory-relationships-v2
- **Documentation** — https://developer.onetrust.com/onetrust/reference/model-management
- **Documentation** — https://developer.onetrust.com/onetrust/reference/tasks
- **Documentation** — https://developer.onetrust.com/onetrust/reference/groups-v2
- **Documentation** — https://developer.onetrust.com/onetrust/reference/assessment-actions
- **Documentation** — https://developer.onetrust.com/onetrust/reference/inventory
- **Documentation** — https://developer.onetrust.com/onetrust/reference/inventory-1
- **Documentation** — https://developer.onetrust.com/onetrust/reference/drop-management
- **Documentation** — https://developer.onetrust.com/onetrust/reference/incidents
- **Documentation** — https://developer.onetrust.com/onetrust/reference/document-controller
- **Documentation** — https://developer.onetrust.com/onetrust/reference/audits
- **Documentation** — https://developer.onetrust.com/onetrust/reference/initiatives
- **Documentation** — https://developer.onetrust.com/onetrust/reference/document-attachments
- **Documentation** — https://developer.onetrust.com/onetrust/reference/issues
- **Documentation** — https://developer.onetrust.com/onetrust/reference/control-implementations
- **Documentation** — https://developer.onetrust.com/onetrust/reference/training
- **Documentation** — https://developer.onetrust.com/onetrust/reference/contracts

## Other OneTrust APIs (12)

- [OneTrust Activity Log API](https://apis.io/apis/onetrust/onetrust-activity-log-api/)
- [OneTrust Applications API](https://apis.io/apis/onetrust/onetrust-applications-api/)
- [OneTrust Assessment Actions API](https://apis.io/apis/onetrust/onetrust-assessment-actions-api/)
- [OneTrust Assessment Management API](https://apis.io/apis/onetrust/onetrust-assessment-management-api/)
- [OneTrust Assessments API](https://apis.io/apis/onetrust/onetrust-assessments-api/)
- [OneTrust Attachments API](https://apis.io/apis/onetrust/onetrust-attachments-api/)
- [OneTrust Attachments V4 API](https://apis.io/apis/onetrust/onetrust-attachments-v4-api/)
- [OneTrust Attribute Management API](https://apis.io/apis/onetrust/onetrust-attribute-management-api/)
- [OneTrust Audit Records API](https://apis.io/apis/onetrust/onetrust-audit-records-api/)
- [OneTrust Audits API](https://apis.io/apis/onetrust/onetrust-audits-api/)
- [OneTrust Banner API](https://apis.io/apis/onetrust/onetrust-banner-api/)
- [OneTrust Bulk Export API](https://apis.io/apis/onetrust/onetrust-bulk-export-api/)

## Tags

Inventory Relationships V2

---

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