This function changes the hosting package associated with an account.
Calling this URL in WebHost Manager: /xml-api/changepackage?user=bob&pkg=gold
will produce output similar to:
<changepackage>
<result>
<rawout>
<pre>
Changing bwlimit to 2000 Meg
Changing Feature List to default
Changing max pop accounts from 30 to 10
Changing max sql accounts from 5 to 10
Changing max ftp accounts from 5 to 10
Changing max lists from 1 to 10
Changing max sub domains from 10 to 10
Changing max parked domains from 3 to 10
Changing max addon domains from 3 to 10
Adding Shell Access
Changing shell for szodjo.
Shell changed.
Changing cpanel module from x to x3
Changing plan from silver to gold
Resetting QUOTA....
Using Quota v3 Support
Bandwidth limit (0) is lower than (unlimited) (all limits removed)<br /><blockquote>Enabling server.name.tld...Done<br />Enabling domainname.tld...Done<br />Enabling parkeddomain.tld...Done<br /></blockquote><span class="b2">Warning, this will not cause ip-less accounts to become ip access, or the reverse.</span>
</rawout>
<status>1</status>
<statusmsg>Account Upgrade/Downgrade Complete for bob</statusmsg>
</result>
</changepackage>
Copyright 2007 cPanel Inc.