Help Center/
ModelArts/
SDK Reference/
Data Management/
Managing Dataset Versions/
Deleting a Dataset Version
Updated on 2024-06-12 GMT+08:00
Deleting a Dataset Version
Delete a specified dataset version.
dataset.delete_version(version_id)
Sample Code
Delete a specified dataset version.
from modelarts.session import Session from modelarts.dataset import Dataset session = Session() dataset = Dataset(session, dataset_id) dataset.delete_version(version_id="cSPuXPgnYp7ObRs6LaR")
Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
version_id |
Yes |
String |
Dataset version ID |
Parent topic: Managing Dataset Versions
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.