Updated on 2025-03-28 GMT+08:00

Deleting Manual Backups in Batches

Function

This API is used to delete manual backups of a DB instance in batches.

URI

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

Table 1 Request parameters

Name

Type

IN

Mandatory

Description

project_id

string

path

Yes

Project ID of a tenant in a region. To obtain the project ID, see Obtaining a Project ID.

Request Parameters

Table 2 Request header parameters

Name

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token obtained from IAM. For details, see Authentication.

Table 3 Request body parameters

Name

Mandatory

Type

Description

backup_ids

Yes

Array of strings

IDs of manual backups to be deleted in batches. No more than 10 manual backups can be deleted at a time.

Response Parameters

None

Example Request

Deleting the manual backup whose ID is b1eaeb36d03946c988e806db91e5e4fbbr02

{ 
  "backup_ids" : [ "b1eaeb36d03946c988e806db91e5e4fbbr02" ] 
}

Example Response

None

Status Code

For details, see Status Code.

Error Code

For details, see Error Code.