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.

Add "account_limit" to the reseller info returned by the "resellerstats" WHM API

Chris Handley shared this idea 14 months ago
Needs Review

The "setresellerlimits" WHM API allows you to set "account_limit" & "enable_account_limit" of a reseller (which is the reseller's maximum total number of accounts, and whether this is enabled or not):
https://api.docs.cpanel.net/openapi/whm/operation/setresellerlimits/

But there is no way to way to check what those values are currently set to, which means it's not possible to automatically check whether reseller accounts has previously been configured correctly. (So you must manually check it from the "Edit Reseller Nameservers and Privileges" GUI.)

I think it would make most sense if the existing "resellerstats" WHM API was enhanced to return this info, since it already provides information like "diskquota", "bandwidthlimit", "diskoverselling" & "bwoverselling" that are also specified in the "Edit Reseller Nameservers and Privileges" GUI:
https://api.docs.cpanel.net/openapi/whm/operation/resellerstats/

Leave a Comment
 
Attach a file