# Delete an Insights Model Dataset

All table and column configurations defined in the dataset are removed when you delete the dataset.

For the API endpoint, select the appropriate [endpoint for your region](/apis/endpoints/endpoints).

Call `DELETE /reporting/datamodels/{datamodel_id}/datasets/{dataset_id}`.


```bash
curl -X DELETE https://<api endpoint>/reporting/datamodels/xxxxxx/datasets/yyyyyy \
-H 'authorization: TD1 xxxx/xxxxxxxxxxxxxx' \
-H 'cache-control: no-cache' \
-H 'accept: application/json' \
```

You cannot reuse a dataset name after deletion. If you attempt to create a dataset with the same name, the API returns `"<dataset_name> is duplicated"`. Choose a new name instead.