Resize block storage
Resize a block storage volume to a new size.
Authorization
ApiKeyAuth x-apikey<token>
In: header
Path Parameters
block_storage_id*string
ID of the block storage
Request Body
application/x-www-form-urlencoded
TypeScript Definitions
Use the request body type in TypeScript.
size*integer
New size of the storage in GB
Response Body
application/json
curl -X PATCH "https://api.dewavps.com/v1/storage/blocks/string/resize" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d ''{
"message": "Block storage successfully resized",
"data": {
"storage_id": "b393bdc8-beeb-473d-b930-952d1433f9f9",
"new_size": "60GB"
}
}