---
title: "Delete datasets"
method: DELETE
path: "/datahub/v1/datasets"
tags: ["DataHub"]
---

# Delete datasets

`DELETE /datahub/v1/datasets`

Deletes one or more DataHub datasets and all their associated data.

## Request body

- object
  - `datasets` string[], required — List of dataset names to delete.

## Response `200`

OK - Datasets deleted successfully.

- object
  - `message` string

## Other responses

- `400` — Bad Request - The server cannot process the request, often due to a malformed request.
- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - The client is not authorized to perform the request.
- `500` — Internal Server Error - Something went wrong with the DoiT API server.

---

[API](https://skmtc.net/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.net/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/doit/doit-cloud-intelligence/versions/9416402fc119/schema)
