code: def add_member_team(self, team, permissions):
          
          team = Transform.to_team(team)
          data = {'id': team, 'type': 'TEAM'}
          if isinstance(permissions, dict):
              data.update({
                  'permissions': permissions
              })
  
          extra = {
              'resource': self.__class__.__name__,
              'query': {
                  'id': self.id,
                  'data': data,
              }
          }
          logger.info('Adding team member using team id', extra=extra)
          response = self._api.post(
              url=self._URL['members_query'].format(id=self.id), data=data)
          member_data = response.json()
          return Member(api=self._api, **member_data)
docs: Add a member (team) to a project.
          :param team: Team object or team identifier.
          :param permissions: Permissions dictionary.
          :return: Member object.