python - how to get the resellers email from domain name in whm? -
i have written python scripts email address of domain name being passed using whm api ,accountsummary function
r = requests.get("http://"127.0.0.1":2086/json-api/accountsummary?domain="+domain, headers= payload, verify=false)
with reseller root username not email.
whm has https://documentation.cpanel.net/display/sdk/cpanel+api+2+functions+-+resellers%3a%3aget_sub_accounts api endpoints reseller doesnot have function reseller email address.
my additional requirement , fetch resellers email:
if domain being passed domain name may belong resellers account want fetch email of resellers account domain belongs to.
i not find right whm api method call.
Comments
Post a Comment