## Delete a dataset

**delete** `/api/v1/datasets/{dataset_id}`

Soft-deletes a dataset and its associated resources. Cannot delete a dataset while the pipeline is running.

### Path Parameters

- `dataset_id: string`

### Returns

- `message: string`

### Example

```http
curl https://api.prod.adaptionlabs.ai/api/v1/datasets/$DATASET_ID \
    -X DELETE \
    -H "Authorization: Bearer $ADAPTION_API_KEY"
```

#### Response

```json
{
  "message": "message"
}
```
