View Single Post
Old 16th January 2013, 16:58
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,045
Thanks: 841
Thanked 5,661 Times in 4,468 Posts

You have to pass a empty password field if you dont want the password to be changed as the API requires that you pass either a new (cleartext) password or a empty field if you dont want to change the password.

So the corect script is:

$record_record = $client->client_get($session_id, $record['client_id']);
$record_record['limit_web_quota'] = 10;
$record_record['password'] = '';
$client->client_update($session_id, $record['client_id'], 0, $record_record);
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote