SSH keys

These are the endpoints for SSH keys. More information coming soon.

GET
/v1/ssh-keys

List

Description for this endpoint is coming soon.

Path attributes

  • Name
    pageNumber
    Type
    integer
    Description
  • Name
    pageSize
    Type
    integer
    Description
Request
GET
/v1/ssh-keys
curl '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
/v1/ssh-keys

Create

Description for this endpoint is coming soon.

Request
POST
/v1/ssh-keys
curl '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
/v1/ssh-keys/{id}

Get

Description for this endpoint is coming soon.

Path attributes

  • Name
    id
    Type
    string
    Description
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
/v1/ssh-keys/{id}

Delete

Description for this endpoint is coming soon.

Path attributes

  • Name
    id
    Type
    string
    Description
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
{}