--- title: "getRootPasswordServerInstanceList" slug: "compute-server-getrootpasswordserverinstancelist" updated: 2026-09-17T09:57:42Z published: 2026-09-17T09:57:42Z canonical: "api.ncloud-docs.com/compute-server-getrootpasswordserverinstancelist" --- > ## 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. # getRootPasswordServerInstanceList ## 概要 サーバ(VM)のログインキーで rootアカウントのパスワードをリスト形式で照会します。 ## リクエスト ### リクエストパラメータ | パラメータ名 | 必須の有無 | タイプ | 制限事項 | 説明 | | --- | --- | --- | --- | --- | | rootPasswordServerInstanceList.N | Yes | List | | サーバのルートパスワードを照会するためのオブジェクトリスト | | rootPasswordServerInstanceList.N.serverInstanceNo | Yes | String | | - 照会対象のサーバインスタンス番号リスト serverInstanceNoは getServerInstanceListアクションを通じて取得可能 | | rootPasswordServerInstanceList.N.privateKey | No | String | ログインキーの内容がそのまま入る必要があるので、\nを付ける | - サーバインスタンスに割り当てられたログインキー 作成するか、importしたログインキーの秘密鍵テキストを入力 サーバのログインキーファイル(.pem)を通じて取得可能 ログインキーの内容をそのまま入れる必要があるので「\n」を付け、GETメソッドの利用時は URLエンコードが必要 | | responseFormatType | No | String | | - レスポンス結果の形式タイプ オプション: xml \| json デフォルト: xml | ## レスポンス ### レスポンスボディ - [RootPasswordServerInstanceList](/docs/ja/common-apidatatype-rootpasswordserverinstancelist) ## 例 ### リクエスト例 - この APIは POST methodにのみ対応しています。 ## 例 ### レスポンス例 ``` 20bb8687-5f38-40be-bea3-03adab55f069 0 success 2 886621 N2T!FH93*hd 886624 R78D55h9J# ``` ## エラーコード 以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。共通して発生するエラーについての詳細説明は、[NAVERクラウドプラットフォーム API](/docs/ja/common-ncpapi-index)をご参照ください。 | HTTP Response Code | リターンコード | リターンメッセージ | | --- | --- | --- | | 400 | 24001 | Invalid authentication key. Please check authentication key or input type and try again. |