MODULES-1606 add ability to pass array to delete for items to delete