XML API
Accounts
Change package

Change package

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

HTTP Endpoint

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

Usage

⚠️

Your package name must be fully lowercase since otherwise the user will get the "Client is not allocated to a package" package which has the maximum resources.

curl -X POST -u username:password -d "user=example&pkg=myawesomeplan" "https://panel.myownfreehost.net/xml-api/changepackage.php"

Response

💡

The above request returns XML structured like the following:

<changepackage>
    <result>
        <rawout>
        </rawout>
        <status>1</status>
        <statusmsg>Account Upgrade/Downgrade Complete for asdfasdf</statusmsg>
    </result>
</changepackage>