Generated at:
Manage Datasets
Delete a specific dataset
delete
/api/datasets/{originOrId}Deletes the dataset. It can be restored, 30 days by default, by creating a dataset with the same slug; after that it is gone for good. Deleting the default dataset returns 400. Deleting a dataset that does not exist, or is already deleted, returns 200.
A deleted dataset keeps its origin reserved until it is purged. Creating a dataset with that
origin under another slug returns 400.
Path parameters 1
originOrIdrequiredDataset origin or slug.
string
bash
Sample requestcurl --request DELETE 'https://api.eu-west-1.aws.dash0.com/api/datasets/123e4567-e89b-42d3-a456-426614174000' \
--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}"Responses
The dataset was deleted.