PATCH
/
v1
/
datasets
/
{datasetId}

Authorizations

x-pd-api-key
string
headerrequired

Headers

x-pd-external-trace-id
string

The external trace ID. The length ranges from 0 to 128 characters.

Path Parameters

datasetId
string
required

The dataset ID.

Body

application/json
name
string

The new name of the dataset.

name and description cannot be both blank.

description
string

The new description of the dataset.

name and description cannot be both blank.

Response

200 - application/json
code
integer
required

Status code. 0 indicates that the operation is successful. Otherwise, the operation fails. Possible error codes include:

  • 100: Bad request.
  • 201: Request frequency limit.
  • 9999: Internal error.
  • 100001: Invalid operation.
data
object
required

Null is returned when the operation is successful.