Delete dataset
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. |
This API has no specific response parameters. For more information, see Response structure.
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" }
{ "ResponseMetadata": { "RequestId": "20251127184408226181202096E0F271", "Action": "DeleteDataset", "Version": "2025-08-15", "Service": "las", "Region": "cn-beijing" }, "Result": {} }
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 | Description |
|---|---|---|
400 | InvalidRequestParam | Invalid request parameter {}, reason {}. |
400 | InvalidParameter | The specified parameter {} is invalid. |
400 | MissingParameter | The required parameter {} is missing. |
500 | InternalError | The request failed due to an unknown error. |