SSH keys
These are the endpoints for SSH keys. More information coming soon.
GET
List
Description for this endpoint is coming soon.
Path attributes
- Name
pageNumber
- Type
- integer
- Description
- Name
pageSize
- Type
- integer
- Description
Request
GET
/v1/ssh-keyscurl 'https://rest.compute.cudo.org/v1/ssh-keys' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"sshKeys": [
{
"id": "string",
"createTime": "string",
"publicKey": "string",
"fingerprint": "string",
"type": "string",
"comment": "string"
}
],
"totalCount": "integer",
"pageNumber": "integer",
"pageSize": "integer"
}
POST
Create
Description for this endpoint is coming soon.
Request
POST
/v1/ssh-keyscurl 'https://rest.compute.cudo.org/v1/ssh-keys' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"publicKey": "string"
}'
Response
{
"id": "string",
"createTime": "string",
"publicKey": "string",
"fingerprint": "string",
"type": "string",
"comment": "string"
}
GET
Get
Request
GET
/v1/ssh-keys/{id}curl 'https://rest.compute.cudo.org/v1/ssh-keys/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"id": "string",
"createTime": "string",
"publicKey": "string",
"fingerprint": "string",
"type": "string",
"comment": "string"
}
DELETE
Delete
Request
DELETE
/v1/ssh-keys/{id}curl 'https://rest.compute.cudo.org/v1/ssh-keys/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{}