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

# Delete a dataset

`DELETE /api/datasets/{id}/`

Delete a dataset and the logs it contains.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

## Other responses

- `401` — Unauthorized - Missing/invalid authentication

## Changes

- **2026-08-13** `4e064cf81dae` — 1 info
  - added the non-success response with the status `401`

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/datasets/:id/delete.md)

---

[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/4e064cf81dae/schema)
