v1
latestOpenAPI 3.0.12026-07-26152262362.2 KBDataHub
Update dataset
Updates an existing DataHub dataset's metadata. Only the description field can be updated. The dataset name is immutable and serves as the resource identifier. To rename a dataset, delete it and create a new one. If name is included in the request body, it must match the dataset name in the URL path. A mismatched name will be rejected with a 400 error.
patch/datahub/v1/datasets/{name}
Path parameters
namestring required
The name of the dataset to update (immutable, used for identification only).
Request body
Example request
{
"name": "My Custom Dataset",
"description": "Updated description for the dataset"
}Response
OK - Dataset updated successfully.
Example response
{
"name": "My Custom Dataset",
"description": "Updated description for the dataset",
"records": 1500,
"updatedBy": "user@example.com",
"lastUpdated": "2024-03-10T23:00:00Z"
}