Updated on 2022-02-22 GMT+08:00

Deleting a Backup Policy

Function

This API is used to delete the backup policy of a specific ID.

URI

  • URI format

    DELETE https://{endpoint}/v1/{project_id}/policies/{policy_id}

  • Parameter description
    Table 1 Parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID

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

    policy_id

    Yes

    String

    Backup policy ID

Request

  • Parameter description

None

  • Example request
    DELETE https://{endpoint}/v1/{project_id}/policies/{policy_id}

Response

  • Parameter description

    None

  • Example response

    None

Status Codes

  • Normal

    Status Code

    Description

    200

    OK

  • Abnormal

    Status Code

    Description

    400

    Invalid request parameters.

    401

    Authentication failed.

    403

    No operation permission.

    404

    Requested object not found.

    500

    Service internal error.

    503

    Service unavailable.

Error Codes

For details, see Error Codes.