SSH Keys
Create a SSH Key
post
Header parameters
x-api-keystringRequired
The API Key secret should be sent through this header to authenticate the request.
Body
namestringRequiredExample:
my-ssh-keypublicKeystringRequiredExample:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDHRbO3HkzPmp65PR...fAn7Jlb8b61BFh6k= cloud@sesterceResponses
201
Return the created ssh key
application/json
403
API key invalid
application/json
404
API key not found
application/json
post
/gpu-cloud/ssh-keysRetrieve the list of SSH Keys created
get
Header parameters
x-api-keystringRequired
The API Key secret should be sent through this header to authenticate the request.
Responses
200
Returns the list of user ssh keys
application/json
403
API key invalid
application/json
404
API key not found
application/json
get
/gpu-cloud/ssh-keysMark a SSH Key as default
patch
Path parameters
idstringRequired
Header parameters
x-api-keystringRequired
The API Key secret should be sent through this header to authenticate the request.
Responses
204
SSH key marked as default
403
API key invalid
application/json
404
Not found
application/json
patch
/gpu-cloud/ssh-keys/{id}/makedefaultNo content
Delete a SSH Key
delete
Path parameters
idstringRequired
Header parameters
x-api-keystringRequired
The API Key secret should be sent through this header to authenticate the request.
Responses
204
SSH key deleted successfully
403
API key invalid
application/json
404
Not found
application/json
delete
/gpu-cloud/ssh-keys/{id}No content
Last updated