Update the IP address of an instance attached to a managed private network
PUT /private-network/{id}:update-ip
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/private-network/{id}:update-ip \
-H "Content-Type: application/json" \
-d '{"ip":"string","instance":{"id":"string"}}'
Request examples
{
"ip": "string",
"instance": {
"id": "string"
}
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}