Skip to main content

Create account without a plan via WHM API

Comments

3 comments

  • Jcats
    Are you omitting it meaning completely leaving plan out of the function or are you just leaving it blank like plan= I just tested using the command line: whmapi1 createacct username=example domain=example.com
    reason: Account Creation Ok Package: default
    0
  • Oliver Etchebarne
    Thanks @Jcats ! :) Actually, "whmapi1" uses the "default" package (opposite to no package). But I thought perhaps it was a privilege issue ("whmapi1" uses "root" user), and that was it :-D It turns out the reseller user I was using to create the accounts didn't have the 'quota' privilege (among others) enabled. Thanks again! ;)
    0
  • cPanelLauren
    Glad to hear you were able to find a resolution to your issue @Oliver Etchebarne I should point out that by default the "default" package has everything unlimited so it's really not imposing any restrictions unless the default has been modified. It's there to ensure uniformity of accounts that aren't assigned a package. Thanks!
    0

Please sign in to leave a comment.