R romix New member Joined Apr 6, 2015 Messages 4 Apr 6, 2015 #1 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.
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.
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,215 Location GMT +7.00 Apr 7, 2015 #2 Hello, All data? It is what exactly? Do you mean selected user package?
R romix New member Joined Apr 6, 2015 Messages 4 Apr 7, 2015 #3 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.
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.
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,215 Location GMT +7.00 Apr 7, 2015 #4 You should pass the entire list of package values even if you don't want to change them.
R romix New member Joined Apr 6, 2015 Messages 4 Apr 7, 2015 #5 Really? It is very complicated. Do you have a ready-made solution?
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,215 Location GMT +7.00 Apr 7, 2015 #6 Here you can find an answer from official directadmin staff: http://forum.directadmin.com/showthread.php?t=33636&p=170106#post170106 No, I don't have a solution. I've never required it, I could write for you one in terms of a commerce service.
Here you can find an answer from official directadmin staff: http://forum.directadmin.com/showthread.php?t=33636&p=170106#post170106 No, I don't have a solution. I've never required it, I could write for you one in terms of a commerce service.