Skip to main content
GET
/
api
/
workspaces
/
{id}
/
ssh-keys
List SSH keys currently in the workspace.
curl --request GET \
  --url https://api.rigbox.dev/api/workspaces/{id}/ssh-keys \
  --header 'Authorization: Bearer <token>'
{
  "keys": [
    {
      "comment": "<string>",
      "fingerprint": "<string>",
      "key_type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Workspace ID

Response

200 - application/json

Workspace SSH keys

keys
object[]
required