curl --location --request POST 'https://api.hetzner.cloud/v1/floating_ips//actions/assign' \
--header 'Content-Type: application/json' \
--data-raw '{
"server": 42
}'
{
"action": {
"command": "assign_floating_ip",
"error": {
"code": "action_failed",
"message": "Action failed"
},
"finished": "2016-01-30T23:56:00.000Z",
"id": 13,
"progress": 100,
"resources": [
{
"id": 42,
"type": "server"
},
{
"id": 4711,
"type": "floating_ip"
}
],
"started": "2016-01-30T23:55:00.000Z",
"status": "success"
}
}