deleteLoginKey

Prev Next

Overview

Delete a key that encrypts and decrypts the password using the login key when accessing a server instance (VM).

Request

Request parameters

Parameter name Required Type Restrictions Description
keyName Yes String Min: 3, Max: 30 - The name of a key to be created
An error occurs if the key name already exists.
responseFormatType No String - Response result's format type
Options: xml | json
Default: xml

Response

Response body

Examples

Request example

GET {SERVER_API_URL}/deleteLoginKey
?keyName=create-key-test

Response example

<deleteLoginKeyResponse>
  <requestId>348689a4-dbc0-40b6-b389-c38da6edcb22</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
</deleteLoginKeyResponse>

Errors

Errors that may occur while using this action are listed below. For more information about common errors, see NAVER Cloud Platform API.

HTTP Response Code Return code Return message
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.