Rolls back the version of a specified instance.

Debugging

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

Request parameters

Parameter Type Required Example Description
Action String Yes RollbackInstanceVersion

The operation that you want to perform. Set the value to RollbackInstanceVersion.

DrdsInstanceId String Yes drds************

The instance ID.

RegionId String No cn-hangzhou

The region ID.

Response parameters

Parameter Type Example Description
Data String true

Indicates whether the instance version was rolled back.

RequestId String DSSDF-SEWE-*****

The ID of the request.

Examples

Sample requests

http(s)://drds.aliyuncs.com/? Action=RollbackInstanceVersion
&DrdsInstanceId=drds************
&<Common request parameters>

Sample success responses

XML format

<RollbackInstanceVersionResponse>
  <RequestId>DSSDF-SEWE-*****</RequestId>
  <Data>true</Data>
</RollbackInstanceVersionResponse>

JSON format

{
    "RequestId": "DSSDF-SEWE-*****",
    "Data": "true"
}

Error codes

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