---
title: "Delete a dataset"
method: DELETE
path: "/v1/datasets/{dataset_id}"
tags: ["Datasets"]
---

# Delete a dataset

`DELETE /v1/datasets/{dataset_id}`

## Request

- Base URL: `https://api.lmnr.ai`
- URL: `https://api.lmnr.ai/v1/datasets/{dataset_id}`
- Auth: HTTP bearer

Deletes a dataset and its datapoints.

## Response `200`

Dataset deleted. Returns the deleted dataset.

- Dataset
  - `id` string, uuid, required
  - `name` string, required
  - `projectId` string, uuid, required
  - `createdAt` string, date-time, required

## Other responses

- `401`: Missing or invalid API key.
- `404`: The requested resource was not found in this project.

---

[API](https://skmtc.dev/laminar-sh/apis/laminar-api.md) - [All operations](https://skmtc.dev/laminar-sh/apis/laminar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/laminar-sh/apis/laminar-api/revisions/8a7a08163846?raw)
