Skip to content

Change CPU

Supported Versions Last Updated
1.25.34 & higher 2021/11/25
Action vserver-change-cpu
Method GET, POST
Variables

vserverid [id of virtual server]

cpu [amount 1 <> 128]

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

Error:

<status>error</status>

<statusmsg>ERROR MESSAGE</statusmsg>

JSON

Success:

 

{

"status":"success",

"statusmsg":"Virtual server cpu changed"

}

Error:

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

Back to top