docs: def remove_members(self, users=None):
          """Members to add to a team.
  
          :param members: list of members, either `User` objects or usernames
          :type members: List of `User` or List of pk
          :raises IllegalArgumentError: when providing incorrect roles
  
  
          Example
          -------
          >>> my_team = client.team(name='My own team')
          >>> other_user = client.users(name='That other person')
          >>> my_team.remove_members([other_user]R)
  
          """
          if not users or not isinstance(users, (list, tuple, set)):
              raise IllegalArgumentError("Member should be a list of user_ids or `User` objects, got '{}'".
                                         format(users))
  
          update_dict = dict()
  
          if all(isinstance(user, int) for user in users):
              update_dict['users'] = users
          elif all(isinstance(user, User) for user in users):
              update_dict['users'] = [user.id for user in users]
          else:
              raise IllegalArgumentError("All users should be a list of user_ids or `User` objects, got '{}'".
                                         format(users))
  
          self._update('team_remove_members',
                       update_dict=update_dict,
                       team_id=self.id)