Openminds Sock API
Show SSH Key
Returns detailed information for the requested SSH key.
URL
/ssh_keys/:id
Method
GET
URL parameters
Required
id=[integer]
Data parameters
Required
user_token=[string]
client_token=[string]
Sample usage
curl -X GET https://sock.openminds.be/api/v1/ssh_keys/1 -d user_token=1234 -d client_token=5678
Sample response
{
"accounts": [
{
"id": 68,
"name": "testclientsharedruby"
}
],
"description": "jorendegroof@dhcp122.om",
"favorite": true,
"id": 1,
"key": "ssh-rsa AAAAB3...P1RDgxQ=="
}