--- title: "terminateServerInstanceInAutoScalingGroup " slug: "compute-autoscaling-terminateserverinstanceinautoscalinggroup" tags: ["Auto Scaling"] updated: 2026-10-22T10:47:10Z published: 2026-10-22T10:47:10Z canonical: "api-gov.ncloud-docs.com/compute-autoscaling-terminateserverinstanceinautoscalinggroup" --- > ## Documentation Index > Fetch the complete documentation index at: https://api-gov.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # terminateServerInstanceInAutoScalingGroup ## 개요 지정된 서버 인스턴스 반납. 서버 인스턴스 삭제와 동시에 그룹 사이즈를 하나(one)씩 감소하게 선택할 수 있습니다. ## 요청 ### 요청 파라미터 | 파라미터 명 | 필수 여부 | 타입 | 제약사항 | 설명 | | --- | --- | --- | --- | --- | | serverInstanceNo | Yes | String | - | - 삭제할 서버 인스턴스의 식별 번호 서버 인스턴스가 Auto Scaling 그룹에 속하지 않다면 유효하지 않음 | | shouldDecrementDesiredCapacity | Yes | Boolean | - | 서버 인스턴스 삭제와 동시에 소속 Auto Scaling 그룹의 Size를 하나씩 감소시킬지 여부 (감소시키려면 `true` 아니면 `false`를 입력) | | responseFormatType | No | String | | - 응답 결과의 포맷 타입 Options : xml \| json Default : xml | ## 응답 ### 응답 바디 - [CommonResponse](/docs/common-apidatatype-commonresponse) ## 예시 ### 요청 예시 ``` {AUTOSCALILNG_API_URL}/terminateServerInstanceInAutoScalingGroup ?serverInstanceNo=68124 &shouldDecrementDesiredCapacity=false ``` ### 응답 예시 ``` 1d7573fd-d321-400b-82bd-8a3a9692b5b6 0 success ``` ​