delete https://customer.my.onetrust.com/api/inventory/v2/inventory-hierarchies/
Use this API to unlink a Child Inventory from a Root Inventory.
Example Request
DELETE https://{hostname}/api/inventory/v2/inventory-hierarchies/{rootInventoryId}
DELETE https://trial.onetrust.com/api/inventory/v2/inventory-hierarchies/96214230-ffbb-4870-b6c4-0f30c3bfec60?inventoryType=assets&childInventoryId=6ed251ca-969a-486f-a645-e5fc3c709f55