def leave_group(self, group_id):
        url = '%s/~/group-memberships/%s' % (ENDPOINTS.PEOPLE, str(group_id))
        response = self.make_request('DELETE', url)
        raise_for_error(response)
        return True
dataset/ETHPy150Open ozgur/python-linkedin/linkedin/linkedin.py/LinkedInApplication.leave_group/original