Bandwith not changing when using CMD_API_MODIFY_USER

DJVG

Verified User
Joined
Aug 14, 2008
Messages
25
Hello,

When I am trying to change the bandwith from unlimited to e.g. 10MB trough the API, it is not changing.

When I change it manual in the DirectAdmin gui to 10MB and then change it back to unlimited it works trough the API.

What I tried:

Code:
'action'    => 'customize',
'bandwith'    => '10',
'ubandwith'  => 'OFF'

Code:
'action'    => 'customize',
'bandwith'    => '10',
'ubandwith'  => ''

Both ways...still unlimited...

What can i try?

This happends with all the other amounts of uses, like ftp, email or subdomains etc...

I hope you understand my english, it issn't that good!

Regards,
DJVG
 
Hello,

Remove ubandwidth completely, as that is how browsers handle unchecked checkboxes.

eg:
Code:
'action'    => 'customize',
'bandwith'    => '10'
John
 
Back
Top