'Remove portgroup associate from the mapping view.'

def delete_portgroup_mapping_view(self, view_id, portgroup_id):

    url = '/mappingview/REMOVE_ASSOCIATE'
    data = {'ASSOCIATEOBJTYPE': '257', 'ASSOCIATEOBJID': portgroup_id, 'TYPE': '245', 'ID': view_id}
    result = self.call(url, data, 'PUT')
    self._assert_rest_result(result, _('Delete    portgroup    from    mapping    view    error.'))
