docs: def remove_team(name, profile="github"):
      '''
      Remove a github team.
  
      name
          The name of the team to be removed.
  
      profile
          The name of the profile configuration to use. Defaults to ``github``.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion github.remove_team 'team_name'
  
      .. versionadded:: 2016.11.0
      '''
      team_info = get_team(name, profile=profile)
      if not team_info:
          log.error('Team %s to be removed does not exist.', name)
          return False
      try:
          client = _get_client(profile)
          organization = client.get_organization(
              _get_config_value(profile, 'org_name')
          )
          team = organization.get_team(team_info['id'])
          team.delete()
          return list_teams(ignore_cache=True, profile=profile).get(name) is None
      except github.GithubException:
          log.exception('Error deleting a team')
          return False