Deletes a dataset.
Operation description
-
Before you delete a dataset, delete all indexes in the dataset. For more information, see DeleteFileMeta and BatchDeleteFileMeta.
-
Before you delete a dataset, unbind all Object Storage Service (OSS) buckets from the dataset. For more information, see DeleteBinding. The DeleteBinding operation does not delete manually created indexes, even if you set the
Cleanupparameter totrue. To delete manually created indexes, call DeleteFileMeta or BatchDeleteFileMeta. For more information about the differences between automatically and manually created indexes, see Create a metadata index.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:DeleteDataset |
delete |
*Dataset
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. For more information, see CreateProject. |
immtest |
| DatasetName |
string |
Yes |
The name of the dataset. For more information, see CreateDataset. |
dataset001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
EC564B8B-BA5C-4499-B196-D9B9E76E**** |
Examples
Success response
JSON format
{
"RequestId": "EC564B8B-BA5C-4499-B196-D9B9E76E****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.