code: def _add_remove_team_member(self, url, email_address=None, account_id=None):
          ''' Add or Remove a team member
  
          We use this function for two different tasks because they have the same
          API call
  
          Args:
  
              email_address (str):    Email address of the Account to add/remove
  
              account_id (str):       ID of the Account to add/remove
  
          Returns:
              A Team object
  
          '''
  
          if not email_address and not account_id:
              raise HSException("No email address or account_id specified")
  
          data = {}
          if account_id is not None:
              data = {
                  "account_id": account_id
              }
          else:
              data = {
                  "email_address": email_address
              }
  
          request = self._get_request()
          response = request.post(url, data)
  
          return responsf _add_remove_team_member(self, url, email_address=None, account_id=None):
          ''' Add or Remove a team member
  
          We use this function for two different tasks because they have the same
          API call
  
          Args:
  
              email_address (str):    Email address of the Account to add/remove
  
              account_id (str):       ID of the Account to add/remove
  
          Returns:
              A Team object
  
          '''
  
          if not email_address and not account_id:
              raise HSException("No email address or account_id specified")
  
          data = {}
          if account_id is not None:
              data = {
                  "account_id": account_id
              }
          else:
              data = {
                  "email_address": email_address
              }
  
          request = self._get_request()
          response = request.post(url, data)
  
          return response
docs: Add or Remove a team member
  
          We use this function for two different tasks because they have the same
          API call
  
          Args:
  
              email_address (str):    Email address of the Account to add/remove
  
              account_id (str):       ID of the Account to add/remove
  
          Returns:
              A Team object