UpdateDataset

更新时间:
复制 MD 格式

Updates dataset information. Only DataWorks datasets are supported. The operator must be the creator of the dataset or the administrator of the workspace where the dataset is located.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

Id

string

Yes

The dataset ID. Only DataWorks datasets are supported for update.

dataworks-dataset:3pXXXb8o0ngr07njhps1

Name

string

No

The dataset name. A non-empty string, length not exceeding 128.

test_oss_dataset_new

Comment

string

No

The dataset description. Length not exceeding 1024.

new comment

Readme

string

No

The user guide, supports Markdown formatted rich text.

## introduction

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

22C97E95-F023-56B5-8852-B1A77A17XXXX

Success

boolean

Indicates whether the update is successful.

true

Examples

Success response

JSON format

{
  "RequestId": "22C97E95-F023-56B5-8852-B1A77A17XXXX\n",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.