Find the api route to reset vms. #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://pve.proxmox.com/pve-docs/api-viewer/
From the aforementioned page:
HTTP: POST /api2/json/nodes/{node}/qemu/{vmid}/status/reboot
Reboot the VM by shutting it down, and starting it again. Applies pending changes.
Required Parameters:
node: The cluster node name.
vmid: The (unique) ID of the VM.
Optional Parameters:
timeout: Wait maximal timeout seconds for the shutdown.
Returns: string
(as of the time of this writing the sample output was not accessible)
Required Permissions:
Check: ["perm","/vms/{vmid}",["VM.PowerMgmt"]]