🎉 Change package API documentation is now available! Changelog...
XML API
Accounts
Change Password

Change password

This endpoint changes the password of the vPanel user account associated with the provided information.

HTTP Endpoint

POST https://panel.myownfreehost.net/xml-api/passwd.php

Usage


curl -X POST -u username:password -d "user=username&pass=password" "https://panel.myownfreehost.net/xml-api/passwd.php"

Response

💡

The above request returns XML structured like the following:


<passwd>
<passwd>
<rawout>
Changing password for username
Password for username has been changed
Updating ftp passwords for username
Ftp password files updated.
Ftp vhost passwords synced
</rawout>
<services>
<app>system</app>
</services>
<services>
<app>ftp</app>
</services>
<services>
<app>mail</app>
</services>
<services>
<app>mySQL</app>
</services>
<status>1</status>
<statusmsg>Password changed for user username</statusmsg>
</passwd>
</passwd>