List Templates Print

  • 0

vpsListTemplates

Purpose

List available OS template.

Attributes

  • type - openvz, xen, xen hvm, kvm

Optional Atributes

  • listpipefriendly - [true|false] Return template list with friendly name

Example Command

$postfields = array();
$postfields["responsetype"] = "json";

$postfields["action"] = "vpsListISO";
$postfields["type"] = "xen hvm";

$result = mikrovps_SendCommand( $postfields );

Successful Response

status - success
templates - emplate1,template2,template3

Error Response

status=error
statusmsg=ERROR MESSAGE

Was this answer helpful?

« Back