GET /dashboard/account/ssh-keys

List SSH keys

Returns all SSH keys registered by the user.

Response

200
successboolean
dataarray

Request

curl -X GET "https://api.royalehosting.net/dashboard/account/ssh-keys" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID"

Response

{
  "success": true,
  "data": [
    {
      "id": 1,
      "name": "My Laptop",
      "key": "ssh-rsa AAAAB3NzaC1yc2E...",
      "user_id": 123,
      "created_at": "2024-01-15T10:30:00Z"
    }
  ]
}