JSON 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/json-api/passwd.php

Usage

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

Response

💡

The above request returns JSON structured like the following:

{
    "passwd": [
        {
            "statusmsg": "Password changed for user username.",
            "services": [
                {
                    "app": "system"
                },
                {
                    "app": "ftp"
                },
                {
                    "app": "mail"
                },
                {
                    "app": "MySQL"
                },
                {
                    "app": "webdisk (digest)"
                }
            ],
            "rawout": "Password changed",
            "status": 1
        }
    ]
}