Delete multiple data


Can anyone suggest me a solution about how do i delete multiple data using sugarcrm API?


I have a user who have multiple licenses, I want to delete all his licenses at a time on the basis of its user id

How do I do that?