Suspend account using API

edwinschippers

New member
Joined
Mar 12, 2007
Messages
4
Hi Everyone,

I'm running into a small problem using the DirectAdmin API and i'm kinda hoping someone here can help me out..

I'm trying to get a script to suspend a bunch of accounts automatically. When i execute my script, it suspends the domain instead of the whole account. The command i'm using is:

$sock->query('/CMD_API_SELECT_USERS',
array('select0'=>'account',
'dosuspend'=> 'Suspend'));

Any suggestions?

thanks in advance,

Edwin
 
Back
Top