You can call this operation to roll back an application.


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 headers

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

POST /pop/v5/changeorder/co_rollback HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
AppId String Yes 3616cdca-4f92-4413-************

The ID of the application that you want to roll back. You can call the ListApplication operation to query the application ID.

GroupId String Yes 8123db90-880f-48***************

The ID of the instance group for which you want to roll back the application. You can call the ListDeployGroup operation to query the group ID. Set this parameter to all if all groups are involved.

HistoryVersion String Yes 2019-11-13 14:22:22

The target version to which you want to roll back the application. You can call the ListHistoryDeployVersion operation to query the historical deployment versions of the application and set this parameter to the returned value of PackageVersion.

Batch Integer No 1

The number of batches for rolling back the application. Valid values: 1 to 5. Default value: 1.

BatchWaitTime Integer No 0

The waiting time between batches for rolling back the application. Valid values: 0 to 5. Default value: 0. Unit: minutes. If no waiting time between batches is required, set this parameter to 0.

Response parameters

Parameter Type Example Description
Code Integer 200

The returned code.

Message String success

The returned message.

ChangeOrderId String 921026b8-d1be-************

The ID of the change process for this operation. You can call the GetChangeOrderInfo operation to query the progress of this operation.

RequestId String D16979DC-4D42-********* Request ID


Sample requests

POST /pop/v5/changeorder/co_rollback HTTP/1.1
Common request headers
  "AppId": "3616cdca-4f92-4413-************"
  "GroupId": "8123db90-880f-48***************"
  "HistoryVersion": "2019-11-13 14:22:22"

Sample success responses

JSON format

    "Message": "success",
    "ChangeOrderId": "921026b8-d1be-************",
    "Code": 200

XML format


Error codes

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