PUT /api/v3/vms/actions/editvmhardware

Edit a VM’s CPU, disk, and RAM.

Request Path

PUT /api/v3/vms/action/editvmhardware

Request Payload

{
    "vmId": "MCTQBRGIH5V2br3eiEd129w1A",
    "numCpus": 2,
    "memorySizeMBs": 2048,
    "diskSizeGBs": 40
}

Parameters

VmID VM id
NumCpus VM’s CPU count
MemorySizeMBs RAM size in megabytes
DiskSizeGBs Disk size in gigabytes

Response example

{
    "conflictsFound": true,
    "conflicts": "NumCpus"
}