latestOpenAPI 3.0.12026-08-15164132402.7 KB

248f954a4e29

Virtual machines

Run VM power action

Performs a power action on a given virtual machine:

  • power_on - Starts the virtual machine
  • power_off - Stops the virtual machine
  • reboot - Restarts the virtual machine

power_on is never blocked. A power_off or reboot returns 409 Conflict when a backup is in progress for the virtual machine.

post/virtual_machines/{virtual_machine_id}/actions

Path parameters

virtual_machine_idstring required

Request body

idstring required
type'virtual_machines' required

Response

Created