# Updating a dataset

## Updates a dataset's  name or description

<mark style="color:purple;">`PATCH`</mark> `https://api.autogon.ai/api/v1/engine/dataset/{dataset_id}/`

#### Path Parameters

| Name                                          | Type   | Description                      |
| --------------------------------------------- | ------ | -------------------------------- |
| dataset\_id<mark style="color:red;">\*</mark> | String | Unique identifier of the dataset |

#### Request Body

| Name                 | Type   | Description                       |
| -------------------- | ------ | --------------------------------- |
| dataset\_name        | String | new name of dataset               |
| dataset\_description | String | new short description for dataset |

{% tabs %}
{% tab title="200: OK Dataset successfully updated" %}

```json
{
    //
}
```

{% endtab %}
{% endtabs %}
