API Docs

Get to know stop

Overview: Stops the indicated VM.

stop expects the following parameters:

  • vm_id – The identifier of the virtual machine in question.

Example:

$params = array(
	'vm_id' => 1
);
$api->call('cloud.stop', $params);

Output:

Array (
[status] => 1
[data]Array
	(
	[status] => success
	[statusmsg]=> Virtual server shutdown
	)
)