> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# deleteDataset

***

# Function: deleteDataset()

```ts theme={null}
function deleteDataset(options: object): Promise<void>;
```

Defined in: [src/utils/datasets.ts](https://github.com/rungalileo/galileo-js/blob/main/src/utils/datasets.ts)

Deletes a dataset by its unique identifier or name.
Delegates to Datasets.delete().

## Parameters

### options

The options used to locate the dataset.

#### id?

`string`

(Optional) The ID of the dataset.

#### name?

`string`

(Optional) The name of the dataset.

#### projectId?

`string`

(Optional) The ID of the project to validate against.

#### projectName?

`string`

(Optional) The name of the project to validate against.

## Returns

`Promise`\<`void`>

A promise that resolves when the dataset has been deleted.
