Paper Lantern for cPanel accounts is being retired this year. Find out more »
cPanel & WHM Version 102 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

API Allow resellers to use resellerstats command on their own behalf

Alexandre shared this idea 5 years ago
Open Discussion

As a reseller, I'm unable to see how much space I have left in my disk quota allocation, via API.

The ability to automate package creation via API is great, but without knowing how much space is left, I cannot implement any optimizations or balancing across many cPanel servers.

Seems like a simple fix. Right now, the resellerstats API command gives me exactly what I need. It is unfortunately not available to anyone but root. Please allow resellers, to run the command for themselves.

- if( $root )

+ if( $root || $usernameParam = getUser()->getUsername() )

Thank you for considering!

Leave a Comment
Attach a file