def delete_resourcegroup(group_id,**kwargs):
    """
        Add a new group to a scenario.
    """
    group_i = _get_group(group_id)
    #This should cascaded to delete all the group items.
    db.DBSession.delete(group_i)
    db.DBSession.flush()

    return 'OK'
Add a new group to a scenario.