# OneTrust Inventory Hierarchies API

**Canonical:** https://apis.io/apis/onetrust/onetrust-inventory-hierarchies-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 Hierarchies 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 Hierarchies. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

APIs used to list, link, and unlink child inventories under a root inventory to model organizational or data-flow trees.

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| PUT | `/api/inventory/v2/inventories/{inventoryId}/set-as-parent` | Set Inventory as Parent |
| PUT | `/api/inventory/v2/inventories/{inventoryId}/unset-as-parent` | Unset Inventory as Parent |
| POST | `/api/inventory/v2/inventories/{parentInventoryId}/link-assets` | Add Asset Inventory as Child to Parent Inventory |
| POST | `/api/inventory/v2/inventories/{parentInventoryId}/link-legal-entities` | Add Legal Entity Inventory as Child to Parent Inventory |
| POST | `/api/inventory/v2/inventories/{parentInventoryId}/link-processing-activities` | Add Processing Activity Inventory as Child to Parent Inventory |
| POST | `/api/inventory/v2/inventories/{parentInventoryId}/link-vendors` | Add Vendor Inventory as Child to Parent Inventory |
| GET | `/api/inventory/v2/inventory-hierarchies/{rootInventoryId}` | Get List of Child Inventories by Root Inventory |
| DELETE | `/api/inventory/v2/inventory-hierarchies/{rootInventoryId}` | Remove Child Inventory from Root Inventory |

## Machine-readable artifacts (38)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/openapi/onetrust-inventory-hierarchies-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 Hierarchies

---

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