Shut down Proxmox guest
Asks a guest to shut down with the endpoint's action token. Protection: token and confirm: true in the body. The route returns once Proxmox accepts the task.
Authorizations
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
The numeric guest id, from List Proxmox guests.
Query parameters
The name of a Proxmox endpoint from List Proxmox endpoints. Needed when more than one is configured.
Body
application/jsonThe node of the guest.
The type of the guest.
Must be the boolean true.
Response
200 · application/jsonProxmox accepted the task.
What was asked.
The endpoint name.
The node.
qemu or lxc.
The guest id.
accepted: Proxmox queued the task.
The Proxmox task id.