Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to "mass change" a reseller setting for all resellers on server?

Discussion in 'General Discussion' started by electric, Oct 21, 2008.

  1. electric

    electric Well-Known Member

    Nov 5, 2001
    Likes Received:
    Trophy Points:
    Is this possible?

    In the "reseller center" we want to UNCHECK the "Allow Creation of Packages with Unlimited Diskspace" feature... for all resellers.

    Is there a way to do this through the backend with a script or something?

    Or do we have to manually edit every reseller on the server using the WHM front-end?

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If I had a sufficient number of resellers where I was considering building a script to do this, I would first create an ACL that contained the privileges I wanted to have my resellers possess then assign that ACL to the resellers. While all of this can be scripted, my preference would be to create the ACL via the WHM interface then use a script to apply the ACL to all my resellers. I would build my script to interface with the XML-API and to use the following function call:

    See the "Using an ACL list" example for how to set a reseller to use an ACL list.

    There's much sample code floating around these forums in PHP and Perl for the APIs. However, any language that can handle XML syntax and HTTP/HTTPS requests can be used.

    If you run into any issues with our APIs, please let us know.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice