def METHOD_NAME(group_id):
    url = 'https://slack.com/api/groups.leave'
    r = requests.get(url, params={'token': _get_slack_token(), 'channel': group_id})
    json = r.json()
    if not json['ok']:
        raise SlackError(json['error'])