Change Main IP address

Supported VersionsLast Updated
1.21.02 & higher2019/01/22
Actionvserver-mainip
MethodGET, POST
Variables

vserverid [id of virtual server]

ipv4addr [single IPv4 address]

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>Main IP Address changed successfully</statusmsg>

Error:

<status>error</status>

<statusmsg>ERROR MESSAGE</statusmsg>

JSON

Success:

{"status":"success","statusmsg":"Main IP Address changed successfully"}

Error:

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