API.moderateLockWaitList(isWaitListLocked, removeAll)

If the user is a MANAGER (role 3) or above, you can lock/unlock the wait list. If you want to remove all the DJs in the wait list when you lock it, pass true for the second parameter.

Each of the parameters are Booleans.


// unlock 
API.moderateLockWaitList(false, false);
// only lock
API.moderateLockWaitList(true, false);
// lock and clear
API.moderateLockWaitList(true, true);


Powered by Zendesk