Updated on 2023-11-24 GMT+08:00

Deleting a Manual Backup

Description

This API is used to delete a manual backup for a DB instance.

URI

  • URI format

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

  • URI example

    https://dds.ap-southeast-1.myhuaweicloud.com/v3/0549b4a43100d4f32f51c01c2fe4acdb/backups/8d9586c40b33449a815518d4635a2cd9br02

Requests

Parameter description

Table 1 Request parameters

Name

Type

IN

Mandatory

Description

X-Auth-Token

string

header

Yes

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

project_id

string

path

Yes

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

backup_id

string

path

Yes

The backup file ID.

Responses

  • Parameter description
    Table 2 Parameter description

    Name

    Type

    Mandatory

    Description

    job_id

    String

    Yes

    The task ID.

  • Response example
    {
        "job_id": "fcaab90b-960d-4441-b73d-a5b2532c5ec5"
    }

SDK

Click Document Database Service DDS SDK to download the SDK or view the SDK document. To learn how to install and authenticate an SDK, read the Usage section.

Status Code

For more information, see Status Code.

Error Code

For more information, see Error Code.