delete https://{hostname}/api/inventory/v2/data-categories/
Use this API to delete Data Categories within the Data Mapping Automation Module of OneTrust. To successfully delete a data category, there must be no data-elements assigned to the data category.
