Skip to main content

RebuildVmRequest

Request body for rebuilding a virtual machine (reinstalling it from a new image).

imageIdstring<uuid>

Id of the OS image to reinstall the VM with. Required; must not be an empty GUID.

sshKeyIdsstring<uuid>[]nullable

Ids of SSH keys to authorize on the rebuilt VM. At most 10 entries; must not contain empty GUIDs. If omitted or empty, the VM's currently bound SSH keys are reused; otherwise these keys replace the effective set.

RebuildVmRequest
{
"imageId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sshKeyIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}