10.0.0.0/16
you want to extend then your new range must also start with the IP 10.0.0.0
. Your CIDR netmask /16
may change to a number that is smaller than 16
thereby increasing the IP range. So valid entries would be 10.0.0.0/15
, 10.0.0.0/14
, 10.0.0.0/13
and so on.curl --location --request POST 'https://api.hetzner.cloud/v1/networks//actions/change_ip_range' \
--header 'Content-Type: application/json' \
--data-raw '{
"ip_range": "10.0.0.0/12"
}'
{
"action": {
"command": "change_ip_range",
"error": {
"code": "action_failed",
"message": "Action failed"
},
"finished": "2016-01-30T23:56:00.000Z",
"id": 13,
"progress": 100,
"resources": [
{
"id": 4711,
"type": "network"
}
],
"started": "2016-01-30T23:55:00.000Z",
"status": "success"
}
}