Skip to main content
POST
/
close
curl -X POST "http://CONTROL_PLANE_IP:PORT/close" \
  -H "Content-Type: application/json" \
  -d '{
    "vm_id": "vm-abc123"
  }'
{
  "status": "success",
  "message": "Desktop environment closed successfully",
  "vm_id": "vm-abc123"
}
Closes the desktop environment for a specific VM and releases all associated resources. The VM is terminated and cannot be used again.

Request Body

vm_id
string
required
VM identifier to close

Response

status
string
Result status (success)
message
string
Status message
vm_id
string
VM identifier that was closed
curl -X POST "http://CONTROL_PLANE_IP:PORT/close" \
  -H "Content-Type: application/json" \
  -d '{
    "vm_id": "vm-abc123"
  }'
{
  "status": "success",
  "message": "Desktop environment closed successfully",
  "vm_id": "vm-abc123"
}