Skip to main content
GET
/
ssh_keys
List SSH Keys
curl --request GET \
  --url https://api.cloud.onidel.com/ssh_keys \
  --header 'Authorization: <api-key>'
{
  "ssh_keys": [
    {
      "id": "a3f2e5d8-1234-4abc-9876-543210fedcba",
      "created": "2024-01-15T10:30:00Z",
      "name": "Production Server Key",
      "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC... user@hostname"
    }
  ]
}

Authorizations

Authorization
string
header
required

Provide the value as: Token <your-api-token>

Query Parameters

team_id
string<uuid>

Team ID to filter SSH keys. Default team will be used if not provided.

Response

Successful operation

ssh_keys
object[]