def destroy(
            self, request, pk=None, parent_lookup_seedteam=None,
            parent_lookup_seedteam__organization=None):
        '''Remove a user from an organization.'''
        user = self.get_object()
        team = self.check_team_permissions(
            request, parent_lookup_seedteam,
            parent_lookup_seedteam__organization)
        team.users.remove(user)
        return Response(status=status.HTTP_204_NO_CONTENT)
def destroy ( self , request , pk = None , parent_lookup_seedteam = None , parent_lookup_seedteam__organization = None ) : user = self . get_object ( ) team = self . check_team_permissions ( request , parent_lookup_seedteam , parent_lookup_seedteam__organization ) team . users . remove ( user ) return Response ( status = status . HTTP_204_NO_CONTENT )
Remove a user from an organization.