DataHub
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}
Request
- Base URLhttps://api.doit.com
- URLhttps://api.doit.com/datahub/v1/datasets/{name}
- Auth
- API key in header Authorization
- or API key in header X-Tenant-Id and API key in header Authorization
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.