CMD_API_MODIFY_USER change only bandwidth

romix

New member
Joined
Apr 6, 2015
Messages
4
Hi

how I can change only user bandwidth by CMD_API_MODIFY_USER?
When I do:

'user' => "$server->virt_user",
'action' => 'customize',
'bandwith' => "$toAdd"

all data are changing.
 
When I do post:

'user' => "user",
'action' => 'customize',
'bandwidth' => "100000"

all properties set to unlimited but I need change only bandwidth.
Other options (disk space, domains limit, subdomains limit etc.) are to be unchanged.
 
Really?
It is very complicated.

Do you have a ready-made solution?
 
Back
Top