You need to enable JavaScript to run this app.
Lake AI Service

Lake AI Service

Copy page
Download PDF
Dataset Management
DeleteDataset - Delete dataset
Copy page
Download PDF
DeleteDataset - Delete dataset

Delete dataset

Debug

Request parameters

The following table lists only the request parameters specific to this API and some common parameters. For more information, see Common parameters.

Parameter
Type
Required
Example
Description
Action
String
Yes

DeleteDataset

The operation to perform. Value: DeleteDataset.

Version
String
Yes

2025-08-15

API version. Value: 2025-08-15.

DeleteData
Boolean
No

false

Whether to also delete the lake files associated with this dataset.

ClientToken
String
No

uuid-xxxxxx

Client token.

DatasetName
String
Yes

example_dataset_2025

Dataset name.

Response parameters

This API has no specific response parameters. For more information, see Response structure.

Request example

POST /?Action=DeleteDataset&Version=2025-08-15 HTTP/1.1 
Host: open.volcengineapi.com 
Content-Type: application/json; charset=UTF-8 
X-Date: 20251127T104359Z 
X-Content-Sha256: 287e874e******d653b44d21e 
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251127/cn-beijing/las/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f 

{ 
  "DeleteData": false, 
  "ClientToken": "uuid-xxxxxx", 
  "DatasetName": "example_dataset_2025" 
}

Response example

{ 
  "ResponseMetadata": { 
    "RequestId": "20251127184408226181202096E0F271", 
    "Action": "DeleteDataset", 
    "Version": "2025-08-15", 
    "Service": "las", 
    "Region": "cn-beijing" 
  }, 
  "Result": {} 
}

Error codes

The following table lists the error codes related to the business logic of this API. For common error codes, see the Common error codes documentation.

Status code
Error code
Error message
Description
400
InvalidRequestParam

Invalid request param {}, cause {}

Invalid request parameter {}, reason {}.

400
InvalidParameter

The specified parameter {} is invalid.

The specified parameter {} is invalid.

400
MissingParameter

The required parameter {} is missing.

The required parameter {} is missing.

500
InternalError

The request has failed due to an unknown error.

The request failed due to an unknown error.

Last updated: 2026.05.18 20:10:09