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
{
  "pageNumber": "integer",
  "pageSize": "integer",
  "sshKeys": [
    {
      "comment": "string",
      "createTime": "string",
      "fingerprint": "string",
      "id": "string",
      "publicKey": "string",
      "type": "string"
    }
  ],
  "totalCount": "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
{
  "comment": "string",
  "createTime": "string",
  "fingerprint": "string",
  "id": "string",
  "publicKey": "string",
  "type": "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
{
  "comment": "string",
  "createTime": "string",
  "fingerprint": "string",
  "id": "string",
  "publicKey": "string",
  "type": "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'