cURL
curl --request POST \ --url https://rest.compute.cudo.org/v1/ssh-keys \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "publicKey": "<string>" } '
{ "publicKey": "<string>", "comment": "<string>", "createTime": "2023-11-07T05:31:56Z", "fingerprint": "<string>", "id": "<string>", "type": "<string>" }
Creates an SSH key that can be used to access bare-metal and virtual machines.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
Create SSH key params
A successful response.