Terminates an application change process and rolls back the application. This operation is applicable to applications that are deployed in Elastic Compute Service (ECS) clusters.

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 headers

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

Request syntax

PUT /pop/v5/oam/changeorder/rollback HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
ChangeOrderId String Query Yes dc5133d7-773f-4c81-****-e2103dce****

The ID of the change record.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Data Struct

The information of the change order.

ChangeOrderId String 4f40e616-cdcd-4250-a018-efd4599c****

The ID of the change order.

ErrorCode String success

The returned error code.

Message String success

The additional information.

RequestId String B909AB1F-3763-4963-B1CE-0BDFA192****

The ID of the request.

TraceId String 000000000000000000000000000000

The ID of the trace.

Examples

Sample requests

PUT /pop/v5/oam/changeorder/rollback HTTP/1.1
Common request parameters
{
"ChangeOrderId": ""
}

Sample success responses

XML format

<Message>success</Message>
<RequestId>B909AB1F-3763-4963-B1CE-0BDFA192****</RequestId>
<TraceId>000000000000000000000000000000</TraceId>
<Data>
    <ChangeOrderId>xxx-xxxx-xxx-xxxx</ChangeOrderId>
</Data>
<ErrorCode>success</ErrorCode>
<Code>200</Code>

JSON format

{"Message":"success","RequestId":"B909AB1F-3763-4963-B1CE-0BDFA192****","TraceId":"000000000000000000000000000000","Data":{"ChangeOrderId":"xxx-xxxx-xxx-xxxx"},"ErrorCode":"success","Code":"200"}

Error codes

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