Updated on 2022-12-12 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

project_id

string

path

Yes

The 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"
    }

Status Code

For more information, see Status Code.

Error Code

For more information, see Error Code.