Stops a stack group operation.

This topic provides an example on how to stop a stack group operation whose ID is 6da106ca-1784-4a6f-a7e1-e723863**** in the China (Hangzhou) region.

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 parameters

Parameter Type Required Example Description
Action String Yes StopStackGroupOperation

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

RegionId String Yes cn-hangzhou

The region ID of the stack. You can call the DescribeRegions operation to query the most recent region list.

OperationId String Yes 6da106ca-1784-4a6f-a7e1-e723863d****

The ID of the operation.

You can call the ListStackGroupOperations operation to obtain the operation ID.

For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
RequestId String 14A07460-EBE7-47CA-9757-12CC4761D47A

The ID of the request.

Examples

Sample requests

https://ros.aliyuncs.com/?Action=StopStackGroupOperation
&OperationId=6da106ca-1784-4a6f-a7e1-e723863****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<StopStackGroupOperationResponse>
		<RequestId>14A07460-EBE7-47CA-9757-12CC4761D47A</RequestId>
</StopStackGroupOperationResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "14A07460-EBE7-47CA-9757-12CC4761D47A"
}

Error codes

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

Error code

Error message

HTTP status code

Description

InvalidParameter

The specified parameter {name} is invalid, {reason}.

400

The error message returned because the specified parameter is invalid. The name parameter indicates the parameter name, and the reason parameter indicates the reason for the error.

StackGroupOperationNotFound

The StackGroupOperation ({OperationId}) could not be found.

404

The error message returned because the specified stack group operation does not exist. The OperationId parameter indicates the ID of the operation.