cURL
curl --request POST \ --url https://rest.compute.cudo.org/v1/projects/{projectId}/vm/{id}/authorized-ssh-keys \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "customSshKeys": [ "<string>" ], "sshKeySource": "SSH_KEY_SOURCE_UNKNOWN" } '
{}
Updates the authorized SSH keys of a virtual machine.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
SSH_KEY_SOURCE_UNKNOWN
SSH_KEY_SOURCE_PROJECT
SSH_KEY_SOURCE_USER
SSH_KEY_SOURCE_NONE
A successful response.
The response is of type object.
object