Updated on 2022-08-06 GMT+08:00

Deleting Backup Files

Function

This API is used to delete the files backed up by a DCS instance.

URI

DELETE /v1.0/{project_id}/instances/{instance_id}/backups/{backup_id}

Table 1 describes the parameters.
Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

Project ID.

instance_id

String

Yes

DCS instance ID

backup_id

String

Yes

ID of the backup record

Request

Request parameters

None

Example request

DELETE https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/backups/{backup_id}

Response

Response parameters

Table 2 describes the response parameters.

Table 2 Parameter description

Parameter

Type

Description

message

String

Result of deleting the backup file

Example response

{
    "message": ""
}

Status Code

Table 3 describes the status code of successful operations. For details about other status codes, see Table 1.

Table 3 Status code

Status Code

Description

200

Backup file deleted successfully.