---
title: "Update Data Set Name"
method: PATCH
path: "/dataSets/{dataSetId}"
tags: ["Data Set"]
---

# Update Data Set Name

`PATCH /dataSets/{dataSetId}`

## Request

- Base URL: `https://data.lucid.app`
- URL: `https://data.lucid.app/dataSets/{dataSetId}`
- Auth: OAuth 2
  - Authorization code: `https://lucid.app/oauth2/authorize`
  - Token URL: `https://api.lucid.co/oauth2/token` scopes: `data-service.admin`

This endpoint takes the payload specified below and updates the data set name. Updates will only occur if the user has access to the data set. Note that the other fields in a dataset cannot be updated through this endpoint.

## Path parameters

- `dataSetId` integer, required

## Request body

- object
  - `name` string, required: Name to give the existing data set

## Response `200`

OK with Data Set

- object
  - `uri` string, required: URI of the data set
  - `name` string, required: Name of the data set
  - `properties` string, required: Link to get properties of the data set
  - `created` string, required: Date the data set was created
  - `modified` string, required: Date the data set was last modified
  - `creatorId` integer, required: ID of the user who created the data set
  - `dataSetGrants` string, required: Link to get grants for the data set
  - `dataSources` string, required: Link to get data sources for the data set

---

[API](https://skmtc.dev/lucid/apis/lucid-data-api.md) - [All operations](https://skmtc.dev/lucid/apis/lucid-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-data-api/revisions/c14ed29dbeab?raw)
