Openminds Sock API

List SSH Keys

Returns a list of SSH keys for your client that you have saved as favorites.

URL

/ssh_keys

Method

GET

Data parameters

Required

  • user_token=[string]
  • client_token=[string]

Sample usage

curl -X GET https://sock.openminds.be/api/v1/ssh_keys -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 AAAAB3Nz....1RDgxQ=="
    }
]