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: <string> The cluster node name.
vmid: <integer> The (unique) ID of the VM.
Optional Parameters:
timeout: <integer> 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"]]
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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"]]