Skip to main content
PATCH
/
user-resource
/
vm
Modify VM
curl --request PATCH \
  --url https://api.tenbytecloud.com/v1/user-resource/vm \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'apikey: <api-key>' \
  --data 'uuid=<string>' \
  --data 'name=<string>' \
  --data ram=123 \
  --data vcpu=123
{
  "name": "web-server",
  "memory": 2048,
  "status": "stopped",
  "uuid": "49c039db-7bcd-4f20-9358-88c4618c547a",
  "vcpu": 4
}

Authorizations

apikey
string
header
required

Body

application/x-www-form-urlencoded
uuid
string
name
string
ram
integer
vcpu
integer

Response

200 - application/json

Updated VM

The response is of type object.