Resize a Compute instance disk
This operation resizes a Compute instance's disk volume. Note: the disk can only grow, cannot be shrunk.
PUT /instance/{id}:resize-disk
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/instance/{id}:resize-disk \
-H "Content-Type: application/json" \
-d '{"disk-size":42}'
Request examples
{
"disk-size": 42
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}