Page tree
Skip to end of metadata
Go to start of metadata
Supported VersionsLast Updated
1.2.00 & higher
json output 1.14.00 & higher
2015/03/06
Actionvserver-change
MethodGET, POST
Variables
vserverid  [id of virtual server]
plan       [new plan name]
changehdd  [true|false] false by default
rdtype     [json] For json output specify json or for default output leave blank. This variable is optional
Example Output

XML

Success:

<status>success</status>
<statusmsg>Virtual server updated</statusmsg>

 

Error:

<status>error</status>
<statusmsg>ERROR MESSAGE</statusmsg>

 

JSON

Success:

 {
"status":"success",
"statusmsg":"Virtual server updated"
}

Error:

 {"status":"error","statusmsg":"ERROR MESSAGE"}
  • No labels