Graceful Shutdown VM/Container
POST
/pveServer/{type}/{pveId}/{vmId}/shutdown
Gracefully shuts down a virtual machine or LXC container on a Proxmox VE server, allowing the OS to properly close applications.
Authorizations
BearerAuth
Enter your session token to authenticate API requests
TypeHTTP (bearer)
Parameters
Path Parameters
type*
Type of virtualization (qemu for VM, lxc for container)
Typestring
RequiredpveId*
The unique identifier of the PVE server
Typestring
RequiredvmId*
The VM or container ID to shutdown
Typestring
RequiredResponses
VM/container successfully shutdown
application/json
JSON
{
}