Skip to content

Change Memory

Supported Versions Last Updated
1.16.09 & higher 2015/04/29
Action vserver-change-memory
Method GET, POST
Variables

vserverid [id of virtual server]

memory [amount in MB] Optionally add a burst amount for OpenVZ [MEMORY|BURST]

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 memory changed</statusmsg>

Error:

<status>error</status>

<statusmsg>ERROR MESSAGE</statusmsg>

JSON

Success:

 

{

"status":"success",

"statusmsg":"Virtual server memory changed"

}

Error:

{"status":"error","statusmsg":"ERROR MESSAGE"}

Back to top