This will change the IP address that your floating ip points to.
application/json
POST
/floating_ips/{id}/change_ip
cURL (application/json)
curl \
--request POST 'https://my.interserver.net/apiv2/floating_ips/{id}/change_ip' \
--header "X-API-KEY: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"ip":"1.2.3.4"}'
curl \
--request POST 'https://my.interserver.net/apiv2/floating_ips/{id}/change_ip' \
--header "X-API-KEY: $API_KEY" \
--header "Content-Type: multipart/form-data" \
--form "ip=1.2.3.4"
Request examples
{
"ip": "1.2.3.4"
}
Response examples (200)
{
"text": "Ok",
"success": true
}
Response examples (401)
{
"code": "string",
"message": "string"
}