Skip to main content
GET
/
api
/
ssh-keys
List SSH keys for the authenticated user.
curl --request GET \
  --url https://api.rigbox.dev/api/ssh-keys \
  --header 'Authorization: Bearer <token>'
{
  "ssh_keys": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "name": "<string>",
      "public_key": "<string>",
      "user_id": "<string>",
      "fingerprint": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

List of user SSH keys

ssh_keys
object[]
required