deleteLoginKeys

Prev Next

Can be used in a VPC environment.

Overview

This deletes the key that encrypts and decrypts the password using the login key when connecting to the server instance (VM).

Request

Request parameter

Parameter Name Required Status Type Restrictions Description
regionCode No String - Region code
regionCode can be acquired through getRegionList action
Default: select the first region shown through getRegionList
keyNameList.N Yes List<String> List of the key names to be deleted
The keyName can be obtained through the getLoginKeyList action.
ex) --keyNameList key1 key2
responseFormatType No String Format type for the response result
Options : xml | json
Default : xml

Response

Response data type

  • CommonResponse type
CommonResponse
private String requestId;
private String returnCode;
private String returnMessage;

Example

Request example

ncloud vserver deleteLoginKeys --keyNameList test-***

Response example

<deleteLoginKeysResponse>
  <requestId>a4cc5d5d-9add-4c4a-ac40-450d19bcd3a8</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
</deleteLoginKeysResponse>