curl --location --request PUT 'https://api.hetzner.cloud/v1/floating_ips/' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "Web Frontend",
"labels": {
"labelkey": "value"
},
"name": "Web Frontend"
}'
{
"floating_ip": {
"blocked": false,
"created": "2016-01-30T23:50:00.000Z",
"description": "Web Frontend",
"dns_ptr": [
{
"dns_ptr": "server.example.com",
"ip": "2001:db8::1"
}
],
"home_location": {
"city": "Falkenstein",
"country": "DE",
"description": "Falkenstein DC Park 1",
"id": 1,
"latitude": 50.47612,
"longitude": 12.370071,
"name": "fsn1",
"network_zone": "eu-central"
},
"id": 4711,
"ip": "131.232.99.1",
"labels": {
"labelkey": "value"
},
"name": "Web Frontend",
"protection": {
"delete": false
},
"server": 42,
"type": "ipv4"
}
}