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

Authorizations

apikey
string
header
required

Body

application/x-www-form-urlencoded
uuid
string

VM UUID

storage_uuid
string

Disk UUID

Response

200 - application/json

Attached disk

The response is of type object.