This operation stops a change order.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:AbortChangeOrder |
update |
*All Resource
|
None | None |
Request syntax
PUT /pop/v1/sam/changeorder/AbortChangeOrder HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ChangeOrderId |
string |
Yes |
The ID of the change order. |
be2e1c76-682b-4897-98d3-1d8d6478**** |
| Rollback |
boolean |
No |
Specifies whether to roll back the change order. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** |
| Message |
string |
The message returned. |
success |
| TraceId |
string |
The trace ID. |
0a98a02315955564772843261e**** |
| Data |
object |
The returned data. |
|
| ChangeOrderId |
string |
The ID of the change order. |
be2e1c76-682b-4897-98d3-1d8d6478**** |
| ErrorCode |
string |
The error code. This parameter is returned only if the request fails. For more information, see the Error codes section in this topic.
|
空 |
| Code |
string |
The HTTP status code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the change order is stopped. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message": "success",
"TraceId": "0a98a02315955564772843261e****",
"Data": {
"ChangeOrderId": "be2e1c76-682b-4897-98d3-1d8d6478****"
},
"ErrorCode": "空",
"Code": "200",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | |
| 400 | Resouce.no.permission | You are not authorized to operate on the specified resources. | You are not authorized to operate on the specified resources. |
| 400 | Application.ChangerOrder.Not.Running | The change order is not running and cannot be terminated. | The change order is not running and cannot be terminated. |
| 400 | Application.ChangerOrderRunning | An application change process is in progress. Please try again later. | An application change process is in progress. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.