# delete dataset

The `delete dataset` command deletes the data in a dataset and its configuration.

## Syntax

{% code overflow="wrap" %}

```
delete dataset <dataset name>[,keep_config]
```

{% endcode %}

## Parameters

| Parameter        | Description                                                                                               |
| ---------------- | --------------------------------------------------------------------------------------------------------- |
| `<dataset name>` | The name of the dataset                                                                                   |
| `keep_config`    | Specify this option if you want to preserve the dataset configuration but delete the data in the dataset. |

## Example

{% code overflow="wrap" %}

```
delete dataset trip_dataset_2,keep_config
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aizen-corp.gitbook.io/docs/model-building-commands/dataset-commands/delete-dataset.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
