terminateServerInstanceInAutoScalingGroup
- Print
- PDF
terminateServerInstanceInAutoScalingGroup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Terminates the specified server instance. You can choose to reduce the group size by one as soon as the server instance is deleted.
Request
Request parameters
Parameter | Required | Type | Limitations | Description |
---|---|---|---|---|
serverInstanceNo | Y | String | - | Number of the server instance to delete It is not valid if the server instance does not belong to your Auto Scaling group. |
shouldDecrementDesiredCapacity | Y | Boolean | - | Indicates whether to reduce the Auto Scaling group size by one as soon as the server instance is deleted. Set this parameter to true if you want to reduce the size, or false if you don’t. |
Response
Response body
Examples
Request example
{AUTOSCALILNG_API_URL}/terminateServerInstanceInAutoScalingGroup
?serverInstanceNo=68124
&shouldDecrementDesiredCapacity=false
Response example
<terminateServerInstanceInAutoScalingGroupResponse>
<requestId>1d7573fd-d321-400b-82bd-8a3a9692b5b6</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</terminateServerInstanceInAutoScalingGroupResponse>
Was this article helpful?