Skip to main content
POST
/
user-resource
/
vm
/
storage
Add Disk
curl --request POST \
  --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 size_gb=123
{
  "size": 50,
  "type": "block",
  "uuid": "3d91aa31-16ec-44ee-b8b3-22a0bda6559e"
}

Authorizations

apikey
string
header
required

Body

application/x-www-form-urlencoded
uuid
string
size_gb
integer

Response

200 - application/json

Created disk

The response is of type object.