Skip to content

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
Required
pveId*

The unique identifier of the PVE server

Typestring
Required
vmId*

The VM or container ID to shutdown

Typestring
Required

Responses

VM/container successfully shutdown
application/json
JSON
{
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Distributed under the MIT License