--- title: "deleteLoginKey" slug: "compute-server-deleteloginkey" updated: 2026-09-17T09:57:42Z published: 2026-09-17T09:57:42Z canonical: "api.ncloud-docs.com/compute-server-deleteloginkey" --- > ## 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. # deleteLoginKey ## 概要 サーバインスタンス(VM)にアクセスする際に、ログインキーを利用してパスワードを暗号化したり復号化したりするキーを削除します。 ## リクエスト ### リクエストパラメータ | パラメータ名 | 必須の有無 | タイプ | 制限事項 | 説明 | | --- | --- | --- | --- | --- | | keyName | Yes | String | 最小: 3, 最大: 30 | - 作成するキー名 既に作成されたキー名が存在する場合はエラーが発生 | | responseFormatType | No | String | | - レスポンス結果の形式タイプ オプション: xml \| json デフォルト: xml | ## レスポンス ### レスポンスボディ - [CommonResponse](/docs/ja/common-apidatatype-commonresponse) ## 例 ### リクエスト例 ``` GET {SERVER_API_URL}/deleteLoginKey ?keyName=create-key-test ``` ### レスポンス例 ``` 348689a4-dbc0-40b6-b389-c38da6edcb22 0 success ``` ## エラーコード 以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。共通して発生するエラーについての詳細説明は、[NAVERクラウドプラットフォーム API](/docs/ja/common-ncpapi-index)をご参照ください。 | HTTP Response Code | リターンコード | リターンメッセージ | | --- | --- | --- | | 400 | 10406 | The authentication key does not exist. | | 400 | 10407 | {0} is the authentication key being used by {1} server. | | 400 | 10408 | {0} is the authentication key being used {1} launch configuration. |