Skip to main content
PATCH
/
user-resource
/
vm
/
storage
Modify Disk
curl --request PATCH \
  --url https://api.tenbytecloud.com/v1/user-resource/vm/storage \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'apikey: <api-key>' \
  --data 'uuid=<string>' \
  --data 'disk_uuid=<string>' \
  --data size_gb=123
{
  "size": 60,
  "type": "block",
  "uuid": "3d91aa31-16ec-44ee-b8b3-22a0bda6559e"
}

Authorizations

apikey
string
header
required

Body

application/x-www-form-urlencoded
uuid
string

VM UUID

disk_uuid
string

Storage UUID

size_gb
integer

Response

200 - application/json

Updated disk

The response is of type object.