Till while in the creation of a domain name via API, I do set the following:
'stats_password' => 'my_password',
'stats_type' => 'awstats',
Expecting that Stats will be enabled automatically. Unfortunately, they are NOT. I have again to login to control panel to enable them. Is this how it functions or something missing?
NB: The /var/www/clients/client30/web49/web/stats/.htpasswd_stats wouldn't be created through API not until enabled through ISPConfig Panel.