Resize a block storage volume
This operation resizes a Block storage volume. Note: the volume can only grow, cannot be shrunk.
PUT
/block-storage/{id}:resize-volume
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/block-storage/{id}:resize-volume \
-H "Content-Type: application/json" \
-d '{"size":42}'
Request examples
{
"size": 42
}
Response examples (200)
{
"labels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"instance": {
"id": "string"
},
"name": "string",
"state": "snapshotting",
"size": 42,
"blocksize": 42,
"block-storage-snapshots": [
{
"id": "string"
}
],
"id": "string",
"created-at": "2024-05-04T09:42:00+00:00"
}