off
) in order for this operation to succeed.Code | Description |
---|---|
server_not_stopped | The server is running, but needs to be powered off |
server_is_load_balancer_target | The server ipv4 address is a loadbalancer target |
curl --location --request POST 'https://api.hetzner.cloud/v1/primary_ips//actions/unassign'
{
"action": {
"command": "unassign_primary_ip",
"error": {
"code": "action_failed",
"message": "Action failed"
},
"finished": null,
"id": 13,
"progress": 0,
"resources": [
{
"id": 42,
"type": "server"
},
{
"id": 4711,
"type": "primary_ip"
}
],
"started": "2016-01-30T23:50:00.000Z",
"status": "running"
}
}