All Products
Search
Document Center

:DeleteDataSet

Last Updated:Mar 01, 2024

Deletes a dataset of a specified version for an instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

DELETE /v2/openapi/instances/{instanceId}/dataSets/{versionId}

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

airec-cn-o400whm78004
versionIdstringYes

The version number of the dataset.

20181023214546

Response parameters

ParameterTypeDescriptionExample
object
resultobject

The details about the dataset.

versionIdstring

The version number of the dataset.

20181023214546
statestring

The state for the dataset of the current version. Example: Importing. The value indicates that the dataset of the current version is being imported.

Importing
gmtModifiedlong

The time when the data source was last modified.

1544112000000
gmtCreatelong

The time when the data source was created.

1544112000000
instanceIdstring

The instance ID.

airec-cn-o400whm78004
codestring

The error code.

InternalServerError
requestIdstring

The request ID.

8F81A922-6C81-46D6-B78C-CC35E16B1691
messagestring

The error message.

An internal server error occurred

Examples

Sample success responses

JSONformat

{
  "result": {
    "versionId": "20181023214546",
    "state": "Importing",
    "gmtModified": 1544112000000,
    "gmtCreate": 1544112000000,
    "instanceId": "airec-cn-o400whm78004"
  },
  "code": "InternalServerError",
  "requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
  "message": "An internal server error occurred"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history