def destroy(self, request, pk=None):
        user = User.objects.get(pk=pk)
        serializer = None
        user.delete()
        return send_response(request.method, serializer)

    # this implementation is temporal not to stop front end developers
    # users/login?username_or_email=some_user_name&password=some_password
Delete a user in the system
dataset/ETHPy150Open CiscoSystems/cognitive/cognitive/app/api/users.py/UserViewSet.destroy