Use a REST API to delete a data collection in Data Marketplace.
Endpoint and method
The following table describes the connection properties for the API:
Property
Description
Endpoint
/api/v2/data-collections/<dataCollectionId>
<dataCollectionId>: Required. Enter the system-generated unique identifier of the data collection that you want to delete.
For more information about how you can use an API to get the system-generated unique identifier of a data collection, see Retrieve all data collections.
To get the system-generated unique identifier of a data collection from the Data Marketplace user interface, open the data collection. The data collection page's URL contains the unique identifier.
For example, in the URL https://{{CDMP_URL}}/datacollection/25158afc-3dfb-44ef-8f3e-cec1e171d0f1?dtn=&tab=summary, the unique identifier is 25158afc-3dfb-44ef-8f3e-cec1e171d0f1.
Method
DELETE
Note: If the data collection that you want to delete is linked to another collection, this link is removed when you delete the data collection. In this scenario, the other collection that is linked does not get deleted.