12.4. Deleting SSH keys¶
Delete a keypair with the specified name.
||path||string||The keypair name.|
This allows administrative users to operate key-pairs of specified user ID.
New in version 2.10
# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \ https://<node_IP_addr>:8774/v2.1/f5d834d636c642c7bfe8af86139c6f26/os-keypairs/key2
184.108.40.206. Status codes¶
||Request was accepted for processing, but the processing has not been completed. A ‘location’ header is included in the response which contains a link to check the progress of the request.|
||The server has fulfilled the request.|
||User must authenticate before making a request.|
||Policy does not allow current user to do this operation.|
||The requested resource could not be found.|
Version 4.6.0 — Jul 28, 2021