Page tree
Skip to end of metadata
Go to start of metadata
Supported VersionsLast Updated
1.15.03 & higher2014/07/24
Actionvserver-bandwidth
MethodGET, POST
Variables
vserverid  [id of virtual server]

limit      [amount in GB]
overlimit  [amount in GB]
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 bandwidth settings changed</statusmsg>

Error:

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

JSON

Success:

 

{
"status":"success",
"statusmsg":"Virtual server bandwidth settings changed"
}

Error:

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