Updated on 2024-10-11 GMT+08:00

Deleting a Manual Backup

Function

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

URI

DELETE https://{Endpoint}/v3/{project_id}/backups/{backup_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Explanation:

Project ID of a tenant in a region.

For details about how to obtain the value, see Obtaining a Project ID.

Restrictions:

None

Value range:

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

Default value:

None

backup_id

Yes

String

Manual backup ID.

Request Parameters

None

Response Parameters

Table 2 Response body parameters

Parameter

Type

Description

backup_id

String

Backup ID.

backup_name

String

Backup file name.

Example Request

Deleting a manual backup

DELETE https://gaussdb-opengauss.ap-southeast-1.myhuaweicloud.com/v3/0483b6b16e954cb88930a360d2c4e663/backups/e28d08754b1a490fb2b3540ed013a7fbbr14

Example Response

Manual backup deleted.

{ 
  "backup_id" : "85755cb697234111bfc4970795ca9018br14", 
  "backup_name" : "backup-d6e1" 
}

Status Code

Error Code

For details, see Error Codes.