Updated on 2025-07-29 GMT+08:00

Deleting a Manual Backup

Function

This API is used to delete a manual backup. Before calling this API:

URI

DELETE /v3/{project_id}/backups/{backup_id}

Table 1 URI parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition

Project ID of a tenant in a region.

To obtain this value, see Obtaining a Project ID.

Constraints

N/A

Range

The value can contain 32 characters. Only letters and digits are allowed.

Default Value

N/A

backup_id

Yes

String

Definition

Backup file ID.

Constraints

N/A

Range

To obtain this value, see Querying Full Backups.

Default Value

N/A

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Definition

User token. To obtain this value, call the IAM API for obtaining a user token.

The value of X-Subject-Token in the response header is the token value.

Constraints

N/A

Range

N/A

Default Value

N/A

X-Language

No

String

Definition

Request language type.

Constraints

N/A

Range

  • en-us

  • zh-cn

Default Value

en-us

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

backup_id

String

Definition

Backup ID.

Range

The value is the same as that of the input parameter.

backup_name

String

Definition

Backup name.

Range

Backup name corresponding to the backup ID.

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Status code: 500

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Request

Deleting a manual backup

DELETE https://{endpoint}/v3/054e292c9880d4992f02c0196d3ea468/backups/1fe4feaab48f11e6654hfa163eba87e4b66

Example Response

Status code: 200

Success.

{
  "backup_id" : "b1182ccdda034f2b9535f3dca5c47e71br07",
  "backup_name" : "backup-f3c1"
}

Status Code

For details, see Status Codes.

Error Code

For details, see Error Codes.