--- title: "deleteLoginKey" slug: "cli-server-deleteloginkey" updated: 2026-09-17T10:11:03Z published: 2026-09-17T10:11:03Z canonical: "cli.ncloud-docs.com/cli-server-deleteloginkey" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # deleteLoginKey ## 概要 ログインキー削除 ## 説明 サーバインスタンス(VM)を作成し、作成されたサーバインスタンス(VM)に接続する時にログインキーを利用してパスワードを暗号化・復号化するキーを削除します。 ## リクエストパラメータ | パラメータ名 | 必須 | タイプ | 制約事項 | 説明 | | --- | --- | --- | --- | --- | | keyName | Yes | String | Min:3, Max:30 | 削除するキー名 キー名が存在しない場合、エラーが発生します。 | ## レスポンスデータタイプ - CommonResponseタイプ | CommonResponse | | --- | | private String requestId; | | private String returnCode; | | private String returnMessage; | ## 例示 ### 呼び出し ``` ncloud server deleteLoginKey --keyName ncloudTest ``` ### レスポンス ``` { "deleteLoginKeyResponse": { "requestId": "ec948e36-9e57-4347-bd96-7859cb972100", "returnCode": "0", "returnMessage": "success" } } ``` ``` ec948e36-9e57-4347-bd96-7859cb972100 0 success ```