Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of deleting one or more SSH key pairs

Shulou Source: shulou.com Published: 2022-06-02 03:21:40 10月02日 Update

This article mainly introduces the method of deleting one or more SSH key pairs, which is very detailed and has a certain reference value. Friends who are interested must read it!

DeleteKeyPairs

Delete one or more SSH key pairs. After deleting the SSH key pair, we will no longer save the SSH key pair for you, but the bound instance can use the SSH key pair normally, and its SSH key pair name is still displayed in the instance details.

Description

When calling this interface, you need to be aware of:

After you delete the SSH key pair, you will not be able to query the SSH key pair through DescribeKeyPairs.

When querying instance information (DescribeInstances), the name of the SSH key pair (KeyPairNames) is displayed, and no other information about the SSH key pair is displayed.

Request parameter

Return parameters

All are common return parameters. See common parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=DeleteKeyPairs&RegionId=cn-qingdao&KeyPairNames=test&

Return the example

XML format

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

JSON format

{"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"}

Error code

The following are the error codes specific to this API. For more error codes, please visit the API error Center.

The above is all the contents of the method of deleting one or more SSH key pairs. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Key parameter error instance example method information content name interface more format query value interest partner knowledge article industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Xiaomi Apple Huawei Shulou Information