forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
4.3 KiB
4.3 KiB
Deleting a Dataset
Function
This API is used to delete a dataset without deleting the source data of the dataset.
Debugging
You can debug this API through automatic authentication in or use the SDK sample code generated by API Explorer.
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 a project ID, see Obtaining a Project ID and Name. |
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.
Parent topic: Data Management (Old Version)