ServerMania logo

Shut down VS

To terminate the VS gracefully, use the following request:

POST /virtual_machines/:virtual_machine_id/shutdown.xml
POST /virtual_machines/:virtual_machine_id/shutdown.json

XML Request Example

curl -i -X POST -u user:userpass --url http://test/virtual_machines/12/shutdown.xml 

JSON Request Example

curl -i -X POST -u user:userpass --url http://test/virtual_machines/12/shutdown.json