Updated on 2022-02-21 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

Example

DELETE https://{dcs_endpoint}/v1.0/885cacf2d49d4bb6931ae668e9c07553/instances/e016385d-b9fa-4bf0-9f38-9379f4a5293f/backups/75509c85-50a6-4525-ad56-a1bb62e84570

Request

Request parameters

None.

Example request

None.

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.