API Reference > Manage data collections > Delete data collections
  

Delete data collections

Use a REST API to delete data collections in Data Marketplace.

Endpoint and method

The following table describes the connection properties for the API:
Property
Description
Endpoint
/api/v1/integration/dataCollections/<id>
<id>: 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 data collections.
To get the system generated unique identifier of a data collection from the Data Marketplace interface, open the data collection. The data collection page's URL contains the system generated unique identifier.
For example, in the URL https://{{CDMP_URL}}/datacollection/25158afc-3dfb-44ef-8f3e-cec1e171d0f1?dtn=&tab=summary, the system generated unique identifier is 25158afc-3dfb-44ef-8f3e-cec1e171d0f1.
Method
DELETE

Request

The API has no payload.

Example request

The following example shows how you can use an API to delete a data collection:
https://{{CDMP_URL}}/api/v1/integration/dataCollections/d2313aed-330e-44a0-bcfa-380ee4a95a62

Response

When you pass the API query parameters in the REST client, the client displays a response for the parameter values that you have entered.
If you see the following response code, it means that the data collection is deleted successfully:
204 OK code