forked from docs/modelarts
![otcbot[bot]](/assets/img/avatar_default.png)
Changes to ma_api from doc-exports#14 This is an automatically created Pull Request for changes to ma_api in opentelekomcloud-docs/doc-exports#14. Please do not edit it manually, since update to the original PR will overwrite local changes. Original patch file, as well as complete rst archive, can be found in the artifacts of the opentelekomcloud-docs/doc-exports#14 Reviewed-by: Beibei <None>
1.9 KiB
1.9 KiB
- original_name
DeleteDataset.html
Deleting a Dataset
Function
This API is used to delete a dataset without deleting the source data of the dataset.
URI
DELETE /v2/{project_id}/datasets/{dataset_id}
Parameter | Mandatory | Type | Description |
---|---|---|---|
dataset_id | Yes | String | Dataset ID. |
project_id | Yes | String | Project ID. For details about how to obtain the project ID, see Obtaining a Project ID <modelarts_03_0147> . |
Request Parameters
None
Response Parameters
None
Example Requests
Deleting a Dataset
DELETE https://{endpoint}/v2/{project_id}/datasets/{dataset_id}
Example Responses
Status code: 204
No Content
{ }
Status Codes
Status Code | Description |
---|---|
204 | No Content |
401 | Unauthorized |
403 | Forbidden |
Error Codes
See Error Codes <modelarts_03_0095>
.