View Single Post
Old 2nd April 2013, 10:56
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

The api function works fine, you just used it the wrong way. Like with all API functions you have to pass a empty password parameter when the password shall not be change don update. So the correct API usage wozld be:

$domain_record['active'] = 'n';
$domain_record['stats_password'] = '';
sites_web_domain_update($session_id, $client_id, $domain_id, $domain_record)
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote