Skip to main content

Reboot Proxmox guest

POST/api/proxmox/guests/{vmid}/reboot

Reboots a guest with the endpoint's action token. Protection: token. The guest comes back by itself, so no confirmation is asked. The route returns once Proxmox accepts the task.

Authorizations

Authorizationstringheaderrequired

The token you start the server with: homebutler serve --token <token>, or web.token in the config file. Send it as Authorization: Bearer <token>. When the server has a token, every /api/ route except the CORS preflight requires it, reads included.

Path parameters

vmidintegerrequired

The numeric guest id, from List Proxmox guests.

Example: 100

Query parameters

endpointstring

The name of a Proxmox endpoint from List Proxmox endpoints. Needed when more than one is configured.

Example: pve

Body

application/json
nodestringrequired

The node of the guest.

Example: pve
typestringrequired

The type of the guest.

Available options: qemulxc

Response

200 · application/json

Proxmox accepted the task.

actionstringrequired

What was asked.

Available options: startshutdownreboot
endpointstringrequired

The endpoint name.

nodestringrequired

The node.

typestringrequired

qemu or lxc.

vmidintegerrequired

The guest id.

statusstringrequired

accepted: Proxmox queued the task.

Available options: accepted
upidstringrequired

The Proxmox task id.