You can call this operation to release a pay-as-you-go backup schedule.

Impacts

After the instance is released, its backup instance will stop providing services and you will not be charged again.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ReleaseBackupPlan

The operation that you want to perform. Valid values: ReleaseBackupPlan

BackupPlanId String Yes dbstooi01xxxx

The ID of the backup plan. You can call DescribeBackupPlanList query.

RegionId String No hangzhou

The region where the interaction resource that is used in the scheduling rule is deployed. You can call DescribeRegions query.

ClientToken String No dbs

A string.

Response parameters

Parameter Type Example Description
BackupPlanId String dbstooi01xxxx

The ID of the backup plan.

ErrCode String Param.NotFound

The error code.

ErrMessage String findValidDBSJob error

The returned message.

HttpStatusCode Integer 200

The HTTP status code.

RequestId String D6E068C3-25BC-455A-85FE-45F0B22ECB1F

The ID of the request.

Success Boolean false

Indicates whether the execution was successful. Valid values:

  • true: Succeeded
  • false: execution failed

Examples

Sample requests

http(s)://dbs-api.cn-hangzhou.aliyuncs.com/? Action=ReleaseBackupPlan
&BackupPlanId=dbstooi01xxxx
&<Common request parameters>

Sample success responses

XML format

<RequestId>D6E068C3-25BC-455A-85FE-45F0B22ECB1F</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<BackupPlanId>dbstooi01xxxx</BackupPlanId>
<ErrMessage>findValidDBSJob error</ErrMessage>
<Success>false</Success>
<ErrCode>Param.NotFound</ErrCode>

JSON format

{"RequestId":"D6E068C3-25BC-455A-85FE-45F0B22ECB1F","HttpStatusCode":"200","BackupPlanId":"dbstooi01xxxx","ErrMessage":"findValidDBSJob error","Success":"false","ErrCode":"Param.NotFound"}

Error codes

For a list of error codes, visit the API Error Center.