This topic introduces how to disable a scaling group using the API.


This operation disables a specified scaling group.

  • The scaling activities in progress before the scaling group is disabled are continued until completion, whereas scaling activities triggered after the scaling group is disabled are rejected.
  • The interface can be called only when the scaling group is active.

Request parameters

Name Type Required Description
Action String Yes Operation interface name, required parameter. Value: DisableScalingGroup
ScalingGroupId String Yes Scaling group ID

Response parameters

Public parameters.

Error code

For common errors, see client errors or server errors.

Error message Error code Description HTTP status code
The specified scaling group does not exist in this account. InvalidScalingGroupId.NotFound The specified scaling group does not exist. 404

Request example 
&<Public Request Parameters>

Response example

XML format:

< DisableScalingGroupResponse>
</ DisableScalingGroupResponse>

JSON format:

"RequestId": "6469DCD0-13AC-487E-85A0-CE4922908FDE"