DeleteDatasetVersion
Deletes a dataset version. Only non-v1 DataWorks dataset versions can be deleted by using this operation. To delete a v1 dataset version, use the DeleteDataset operation. The operator must be the creator of the dataset or an administrator of the workspace to which the dataset belongs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:DeleteDatasetVersion |
delete |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The dataset version ID. Only DataWorks datasets are supported. |
dataworks-datasetVersion:3pXXXb8o0ngr07njhps1 :2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
6AABBBD3-F2E4-5860-8CF7-2E9CEE3BDXXX |
| Success |
boolean |
Indicates whether the dataset version is deleted. |
true |
Examples
Success response
JSON format
{
"RequestId": "6AABBBD3-F2E4-5860-8CF7-2E9CEE3BDXXX",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.