Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

API Allow resellers to use resellerstats command on their own behalf

Alexandre shared this idea 8 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