Attach a Compute instance to a Private Network
PUT
/private-network/{id}:attach
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/private-network/{id}:attach \
-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"
}