@detail_route(methods=['post'])
    def remove_organization(self, request, uuid=None):
        instance = self.get_object()
        old_organization = instance.organization
        instance.organization_approved = False
        instance.organization = ""
        instance.save()

        event_logger.user_organization.info(
            'User {affected_user_username} has been removed from organization {affected_organization}.',
            event_type='user_organization_removed',
            event_context={
                'affected_user': instance,
                'affected_organization': old_organization,
            })

        return Response({'detail': "User has been successfully removed from the organization"},
                        status=status.HTTP_200_OK)
If the current verbosity level is of greater than or equal to
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/structure/views.py/UserViewSet.remove_organization--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/distutils/cmd.py/Command.announce