--- title: "terminateServerInstanceInAutoScalingGroup" slug: "compute-autoscaling-terminateserverinstanceinautoscalinggroup" updated: 2026-09-17T10:05:57Z published: 2026-09-17T10:05:57Z canonical: "api.ncloud-docs.com/compute-autoscaling-terminateserverinstanceinautoscalinggroup" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # terminateServerInstanceInAutoScalingGroup ## Overview Terminate the specified server instance. You can choose to reduce the group size by one at the same time as deleting the server instance. ## Request ### Request parameters | Parameter name | Required | Type | Restrictions | Description | | --- | --- | --- | --- | --- | | serverInstanceNo | Yes | String | - | - Identification number of the server instance to be deleted Invalid if the server instance does not belong to an auto scaling group | | shouldDecrementDesiredCapacity | Yes | Boolean | - | - Whether to reduce the size of the auto scaling group by one at the same time as deleting the server instance Enter `true` to reduce, `false` if not. | | responseFormatType | No | String | | - Format type of the response result Options: xml \| json Default: xml | ## Response ### Response body - [CommonResponse](/docs/en/common-apidatatype-commonresponse) ## Examples ### Request example ``` {AUTOSCALILNG_API_URL}/terminateServerInstanceInAutoScalingGroup ?serverInstanceNo=68124 &shouldDecrementDesiredCapacity=false ``` ### Response example ``` 1d7573fd-d321-400b-82bd-8a3a9692b5b6 0 success ``` ​