def delete_tasks(project, params, items):
    """ Delete tasks by ids
    """
    project.delete_tasks(items)
    return {'processed_items': len(items),
            'detail': 'Deleted ' + str(len(items)) + ' tasks'}