--- title: "deleteLoginKeys" slug: "cli-vserver-server-loginkey-deleteloginkeys" tags: ["VPC", "Server"] updated: 2026-09-17T10:08:33Z published: 2026-09-17T10:08:33Z canonical: "cli.ncloud-docs.com/cli-vserver-server-loginkey-deleteloginkeys" --- > ## 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. # deleteLoginKeys Available in VPC Delete an authentication key. However, you can't delete authentication keys that are assigned a launch configuration for a server instance or Auto Scaling service. ## Syntax The `deleteLoginKeys` syntax is as follows: ``` ./ncloud vserver deleteLoginKeys \ --keyNameList \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `deleteLoginKeys`. ### Required options The following options are required for `deleteLoginKeys`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--keyNameList` | List | Required | Authentication key list - You can enter multiple items separated by spaces. (e.g., `--keyNameList key1 key2`) - See [getLoginKeyList](/docs/en/cli-vserver-server-loginkey-getloginkeylist). | ### Common options For information about the options common to all `vserver` subcommands, see [Server (VPC) options](/docs/en/cli-vserver#%EC%98%B5%EC%85%98). ## Examples If the request to delete the authentication key is successful, the authentication key is deleted. ### Command The command example is as follows: ``` ./ncloud vserver deleteLoginKeys \ --keyNameList test-login-key-01 test-import-key-01 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "deleteLoginKeysResponse": { "requestId": "d4e5f678-9012-3456-def0-456789012345", "returnCode": "0", "returnMessage": "success" } } ```