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

# Delete a dataset

`DELETE /api/datasets/{dataset_id}/`

Delete a dataset and the logs it contains.

## Path parameters

- `dataset_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

## Other responses

- `401` — Unauthorized - Missing/invalid authentication

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/77d94e49bc7a/schema)
