URL Variablen
Name | Beschreibung |
---|---|
vmid | Identifier der VM (fünfstellige Zahl) |
Response (application/json)
{
"status": "success",
"requestID": "10f75dbb-530b-4291-a03a-90eee5289407",
"message": "All SSH keys for this VM are listed below",
"data": {
"ssh_keys": [
{
"key_id": "9be0cba3-d1b3-4680-8e83-3fe577a2cf8b",
"createDate": "2024-05-13T00:17:20.000Z",
"displayname": "Test Beschreibung",
"public_key": "ssh-ed25519%20AAAAC3NzaC1lZDI1NTE5AAAAIC5rvS%2FZj9IlvWp8RbSA%2BNVQcegcOz9Btaufi4mjnjcK%20Generated%20By%20Termiu%2076267123%0A"
},
{
"key_id": "d367a0d5-8557-47e7-a7ca-3f9158f2c6c1",
"createDate": "2024-05-13T00:19:21.000Z",
"displayname": null,
"public_key": "ssh-ed25519%20AAAAC3NzaC1lZDI1NTE5AAAAIC5rvS%2FZj9IlvWp8RbSA%2BNVQcegcOz9Btaufi4mjnjcK%20Generated%20By%20Termiu%2039557926%0A"
},
{
"key_id": "e919f037-d742-4ec3-930d-2f907618dd31",
"createDate": "2024-05-13T00:33:05.000Z",
"displayname": null,
"public_key": "ssh-ed25519%20AAAAC3NzaC1lZDI1NTE5AAAAIC5rvS%2FZj9IlvWp8RbSA%2BNVQcegcOz9Btaufi4mjnjcK%20Generated%20By%20Termiu%2052979691%0A"
}
]
}
}
cURL
curl "https://live.fireapi.de/vm/:vmid/sshkey/list" -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY"
Anfrage testen