Change Main IP address¶
Supported Versions | Last Updated |
---|---|
1.21.02 & higher | 2019/01/22 |
Action | vserver-mainip |
---|---|
Method | GET, 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 | XMLSuccess:
<status>success</status> <statusmsg>Main IP Address changed successfully</statusmsg> Error: <status>error</status> <statusmsg>ERROR MESSAGE</statusmsg> JSONSuccess: {"status":"success","statusmsg":"Main IP Address changed successfully"} Error: {"status":"error","statusmsg":"ERROR MESSAGE"} |