---
title: "Delete a Dataset"
method: DELETE
path: "/{account}/datasets/{dataset}"
---

# Delete a Dataset

`DELETE /{account}/datasets/{dataset}`

## Request

- Base URL: `https://modeanalytics.com/api`
- URL: `https://modeanalytics.com/api/{account}/datasets/{dataset}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/thoughtspot/apis/mode/docs/:account/datasets/:dataset/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a single `Dataset`

## Path parameters

- `account` string, required
- `dataset` string, required

## Response `200`

Empty body

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: `Dataset` not found

## Changes

- **2023-02-24** `a7118a7bc726`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/thoughtspot/apis/mode/changes/:account/datasets/:dataset/delete.md)

---

[API](https://skmtc.dev/thoughtspot/apis/mode.md) - [All operations](https://skmtc.dev/thoughtspot/apis/mode/llms.txt) - [OpenAPI document](https://skmtc.dev/thoughtspot/apis/mode/revisions/4c694c3fdeb1?raw)
