--- title: "terminateServerInstances" slug: "compute-server-terminateserverinstances" updated: 2026-09-17T09:16:15Z published: 2026-09-17T09:16:15Z canonical: "api.ncloud-docs.com/compute-server-terminateserverinstances" --- > ## 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. # terminateServerInstances ## 개요 서버 인스턴스(VM)를 반납(Terminate)합니다. ## 요청 ### 요청 파라미터 | 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 | | --- | --- | --- | --- | --- | | serverInstanceNoList.N | Yes | List | 중복 불가 | - 반납할 서버 인스턴스 번호 리스트 serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능 ex) serverInstanceNoList.1=1088217&serverInstanceNoList.2=1021003 | | responseFormatType | No | String | | - 응답 결과의 포맷 타입 Options : xml \| json Default : xml | ## 응답 ### 응답 바디 - [ServerInstance](/docs/common-apidatatype-serverinstance) ## 예시 ### 요청 예시 ``` GET {SERVER_API_URL}/terminateServerInstances ?serverInstanceNoList.1=1088217 ``` ### 응답 예시 ``` 1ee84982-5712-44cb-ac99-243e59dc8eb1 0 success 1 340843 svr-9b467c9f6c75360 2 4294967296 53687091200 LNX32 Linux 32 Bit cloudqa false 10.113.178.202 centos-6.3-32 NSTOP Server normal stopped state TERMT Server TERMINATE OP terminating 2017-07-27T04:08:39+0900 2017-07-27T04:11:32+0900 SPSW0LINUX000032 SPSVRSTAND000004 false 192.168.120.111 2 KR-1 KR-1 zone 1 KR KOREA NET Network Storage HDD HDD 1038 ncloud-default-acg Default AccessControlGroup true 2013-12-03T10:37:39+0900 ``` ## 오류 코드 아래 오류 코드는 이 액션(Action)에서 특징적으로 발생하는 오류입니다. 공통적으로 발생하는 오류에 대한 상세한 설명은 [NAVER Cloud Platform API](/docs/common-ncpapi)를 참고해주세요 | HTTP Response Code | 리턴 코드 | 리턴 메시지 | | --- | --- | --- | | 400 | 10713 | Not found contract information. Please check your input parameter. | | 400 | 10501 | After deleting additional storage, please try again. Additional storage must be deleted by customer | | 400 | 21001 | Unable to perform returning process due to set return protection. Server name : {0} | | 400 | 23006 | You cannot request for server return and creation at the same time. Please make one request at a time. | | 400 | 24073 | Unable to destroy the server since a public IP is associated with the server. First, please disassociate a public IP from the server. publicIpInstanceNo = {0} | | 400 | 24103 | Input parameter value is invalid. The minimum length of the name is 3 bytes and the maximum, 30 bytes. | | 400 | 24105 | Input parameter value is invalid. The name must contain only lower case letters, digits, and hyphen('-'); it must start with a letter and end with a letter or digit. | | 400 | 24109 | The input parameter instance number is invalid | | 400 | 24120 | The input parameter server instance number is invalid. | | 400 | 25014 | Unable to control the server since (other) user is currently operating storage allocated to the server. | | 400 | 25015 | Unable to delete since (other) user is currently operating the server or creating server image from the server. | | 400 | 25016 | Official IP is currently being allocated or deallocated to the target server. Please return the server after the task is complete. | | 400 | 25021 | The settings of load balancer related to target server is currently being modified. Please return the server after the task is complete. | | 400 | 25022 | Unable to return the server since (other) user is either operating target server or an error in the target server. Please confirm the status of server/ storage. | | 400 | 25023 | Unable to return the server since (other) user is either operating target server or an error in default storage of the target server. Please confirm the status of server/ storage. | | 400 | 25024 | Unable to return the server since (other) user is either operating target server or storage allocated to sever. Please confirm the status of server/ storage. | | 400 | 25027 | You may not change since (other) user is operating the target load balance. | | 400 | 25050 | (Other)Unable to operate load balancer since use is manipulating the applying server. |