--- title: "changeServerInstanceSpec" slug: "compute-server-changeserverinstancespec" updated: 2026-09-17T09:57:42Z published: 2026-09-17T09:57:42Z 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 | 最小: 1, 最大: 20 | - サーバスペックの商品コード serverProductCodeは getServerProductListアクションを通じて取得可能 | | responseFormatType | No | String | | - レスポンス結果の形式タイプ オプション: xml \| json デフォルト: xml | ## レスポンス ### レスポンスボディ - [ServerInstanceList](/docs/ja/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 坪村ゾーン 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クラウドプラットフォーム API](/docs/ja/common-ncpapi-index)をご参照ください。 | 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. |