Get SSH key
Get a SSH key from your server
GET api/servers/{server}/ssh-keys/{sshKey}
Example request:
curl -X GET "https://ploi.io/api/servers/{server}/ssh-keys/{sshKey}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"id": 1,
"status": "active",
"name": "key",
"key": "ssh-rsa AAA...",
"system_user": "ploi"
}
}