Skip to main content
GET
/
ssh-keys
/
{sshKey}
Get an SSH key
curl --request GET \
  --url https://console.wenium.com/api/ssh-keys/{sshKey} \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "data": {
    "id": 1,
    "name": "My Laptop Key",
    "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC...",
    "user_id": 1,
    "created_at": "2026-07-03T00:00:00.000000Z",
    "updated_at": "2026-07-03T00:00:00.000000Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

sshKey
integer
required

Response

200 - application/json

SSH key details

status
boolean
Example:

true

data
object