def team(self):
        """Team to which the scope is assigned."""
        team_dict = self._json_data.get('team')
        if team_dict and team_dict.get('id'):
            return self._client.team(id=team_dict.get('id'))
        else:
            return None
Team to which the scope is assigned.