Change Root Password¶
Supported Versions | Last Updated |
---|---|
1.2.00 & higher json output 1.14.00 & higher |
2013/05/06 |
Action | vserver-rootpassword |
---|---|
Method | GET, POST |
Variables | vserverid [id of virtual server] rootpassword [new root password] rdtype [json] For json output specify json or for default output leave blank. This variable is optional |
Example Output | XMLSuccess: <status>success</status> <statusmsg>Virtual server root password changed</statusmsg> <rootpassword>rootpassword</rootpassword> Error: <status>error</status> <statusmsg>ERROR MESSAGE</statusmsg> JSONSuccess:
{ "status":"success", "statusmsg":"Virtual server root password changes", "rootpassword":"rootpassword" } Error: {"status":"error","statusmsg":"ERROR MESSAGE"} |