DewaVPS

Get unassigned SSH keys

GET
/credential/ssh/unassigned

Retrieve SSH keys that are not assigned to a specific instance.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Query Parameters

vm_id*integer

ID of the VM to check against

Response Body

application/json

curl -X GET "https://api.dewavps.com/v1/credential/ssh/unassigned?vm_id=0"
{
  "message": "SSH key options",
  "data": [
    {
      "id": 0,
      "title": "string"
    }
  ]
}