Add "account_limit" to the reseller info returned by the "resellerstats" WHM API
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/
Replies have been locked on this page!