curl --location --request PUT 'https://api.hetzner.cloud/v1/ssh_keys/' \
--header 'Content-Type: application/json' \
--data-raw '{
"labels": {
"labelkey": "value"
},
"name": "My ssh key"
}'
{
"ssh_key": {
"created": "2016-01-30T23:50:00.000Z",
"fingerprint": "b7:2f:30:a0:2f:6c:58:6c:21:04:58:61:ba:06:3b:2f",
"id": 2323,
"labels": {
"labelkey": "value"
},
"name": "My ssh key",
"public_key": "ssh-rsa AAAjjk76kgf...Xt"
}
}