ModifyKeyPairAttribute
Last updated
Last updated
The API is used to modify the attributes of an SSH key pair.
Note
Only Description is supported to be modified for now.
The following request parameter list only provides API request parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Parameter Name | Type | Description |
---|---|---|
Modify the attributes of an SSH key pair.
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
HTTP Status Code | Error Code | Description |
---|---|---|
keyId
Yes
String
Key pair ID.
For example: key-xxxxxxxx
keyDescription
No
String
Description of key pair.
Up to 255 characters in length are supported.
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
404
INVALID_KEY_PAIR_NOT_FOUND
Key pair not found.