Terminates a change process and rolls back the application. This operation is applicable to applications that are deployed in Container Service for Kubernetes (ACK) clusters and Serverless Kubernetes clusters. You can terminate only a change process for deploying an application and rolls back the application.
Debugging
Request headers
This operation uses only the common request header. For more information, see Common request parameters.
Request syntax
PUT /pop/v5/changeorder/change_order_abort_and_rollback HTTPS|HTTP
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| ChangeOrderId | String | Yes | 30b2374d-9520-****-****-4d72795c**** |
The ID of the change process. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| Code | Integer | 200 |
The HTTP status code. |
| Data | Struct |
The information about the change process. |
|
| ChangeOrderId | String | 30b2374d-9520-****-****-4d72795c**** |
The ID of the change process. |
| ErrorCode | String | success |
The returned error code. |
| Message | String | success |
The returned message. |
| RequestId | String | 81E0B333-2871-****-****-B8F5FF43**** |
The ID of the request. |
| TraceId | String | 0b59000b159471036****8656d**** |
The ID of the trace. |
Examples
Sample requests
PUT /pop/v5/changeorder/change_order_abort_and_rollback HTTP/1.1
Common request header
{
"ChangeOrderId": "30b2374d-9520-****-****-4d72795c****"
}
Sample success responses
XML format
<ChangeOrderIdResponse>
<Data>
<ChangeOrderId>30b2374d-9520-****-****-4d72795c****</ChangeOrderId>
</Data>
<Message>success</Message>
<TraceId>0b59000b159471036****8656d****</TraceId>
<RequestId>81E0B333-2871-****-****-B8F5FF43****</RequestId>
<ErrorCode>success</ErrorCode>
<Code>200</Code>
</ChangeOrderIdResponse>
JSON format
{
"Data": {
"ChangeOrderId": "30b2374d-9520-****-****-4d72795c****"
},
"Message": "success",
"TraceId": "0b59000b159471036****8656d****",
"RequestId": "81E0B333-2871-****-****-B8F5FF43****",
"ErrorCode": "success",
"Code": 200
}
Error codes
For a list of error codes, visit the API Error Center.