--- title: "changeServerInstanceSpec" slug: "compute-server-changeserverinstancespec" updated: 2026-09-17T09:16:15Z published: 2026-09-17T09:16:15Z canonical: "api.ncloud-docs.com/compute-server-changeserverinstancespec" --- > ## 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. # changeServerInstanceSpec ## 개요 서버 인스턴스(VM)스펙을 변경합니다. ## 요청 ### 요청 파라미터 | 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 | | --- | --- | --- | --- | --- | | serverInstanceNo | Yes | String | | - 스펙을 변경할 서버 인스턴스 번호 운영중 상태인 서버는 변경 불가 serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능 | | serverProductCode | Yes | String | Min : 1, Max : 20 | - 서버스펙에 대한 상품코드 serverProductCode는 getServerProductList 액션을 통해 획득 가능 | | responseFormatType | No | String | | - 응답 결과의 포맷 타입 Options : xml \| json Default : xml | ## 응답 ### 응답 바디 - [ServerInstanceList](/docs/common-apidatatype-serverinstancelist) ## 예시 ### 요청 예시 ``` GET {SERVER_API_URL}/changeServerInstanceSpec ?serverInstanceNo=1088217 &serverProductCode=SPSVRSTAND000005 ``` ### 응답 예시 ``` b059fc08-fb8d-40a0-b28b-b0093549f96f 0 success 1 1088217 s167545541a3 2 4294967296 53687091200 LNX32 Linux 32 Bit penguin false 10.41.83.168 centos-6.3-32 NSTOP Server normal stopped state CHNG Server SPEC CHANGE OP changingSpec 2018-11-27T17:42:13+0900 2018-11-27T17:46:02+0900 SPSW0LINUX000032 SPSVRSTAND000004 false 106.10.51.90 3 KR-2 KR-2 평촌 zone 1 1 KR Korea NET Network Storage HDD HDD STAND Standard 39995 ncloud-default-acg Default AccessControlGroup true 2018-04-09T11:12:54+0900 ``` ## 오류 코드 아래 오류 코드는 이 액션(Action)에서 특징적으로 발생하는 오류입니다. 공통적으로 발생하는 오류에 대한 상세한 설명은 [NAVER Cloud Platform API](/docs/common-ncpapi)를 참고해주세요 | HTTP Response Code | 리턴 코드 | 리턴 메시지 | | --- | --- | --- | | 400 | 10500 | Unable to use server specification change function. You may freely change server specification on paid servers. | | 400 | 10501 | After deleting additional storage, please try again. Additional storage must be deleted by customer. | | 400 | 10502 | Selected server does not allow spec change. | | 400 | 10503 | You may not change to spec of same level. | | 400 | 10504 | You may not change the spec to a different disk type. | | 400 | 24109 | The input parameter instance number is invalid. | | 400 | 24120 | The input parameter server instance number is invalid. | | 400 | 25013 | Unable to change server specification since (other) user is either operating the target server or due to an error in target server. Please check the server status. | | 400 | 25014 | Unable to control the server since (other) user is currently operating storage allocated to the server. | | 400 | 25018 | Operation is currently unavailable since (other) user is either operating server or creating server image of the server. |