---
title: "Delete dataset"
method: DELETE
path: "/beta/dataset/{dataset_id}"
tags: ["Dataset"]
---

# Delete dataset

`DELETE /beta/dataset/{dataset_id}`

## Request

- Base URL: `https://api.friendli.ai`
- URL: `https://api.friendli.ai/beta/dataset/{dataset_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/friendli/apis/friendli-suite-api-reference/docs/beta/dataset/:dataset_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a specific dataset.

## Path parameters

- `dataset_id` string, required: ID of the dataset to delete.

## Headers

- `X-Friendli-Team` string, nullable: ID of team to run requests as (optional parameter).

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/friendli/apis/friendli-suite-api-reference.md) - [All operations](https://skmtc.dev/friendli/apis/friendli-suite-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/friendli/apis/friendli-suite-api-reference/revisions/38fb43993a11?raw)
