Deleting Backup Files¶
Function¶
This API is used to delete the backup files of a DCS instance.
URI¶
DELETE /v2/{project_id}/instances/{instance_id}/backups/{backup_id}
Parameter | Mandatory | Type | Description |
---|---|---|---|
backup_id | Yes | String | Backup ID. |
instance_id | Yes | String | Instance ID. |
project_id | Yes | String | Project ID. For details, see Obtaining a Project ID. |
Request Parameters¶
None
Response Parameters¶
Status code: 400
Parameter | Type | Description |
---|---|---|
error_msg | String | Error message. Maximum: 1024 |
error_code | String | Error code. Maximum: 9 |
error_ext_msg | String | Extended error information. This parameter is not used currently and is set to null. Maximum: 1024 |
Status code: 500
Parameter | Type | Description |
---|---|---|
error_msg | String | Error message. Maximum: 1024 |
error_code | String | Error code. Maximum: 9 |
error_ext_msg | String | Extended error information. This parameter is not used currently and is set to null. Maximum: 1024 |
Example Requests¶
DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/backups/{backup_id}
Example Responses¶
None
Status Codes¶
Status Code | Description |
---|---|
204 | Backup file deleted successfully. |
400 | Invalid request. |
500 | Internal service error. |
Error Codes¶
See Error Codes.