code: def delete(self, request, project_id, format=None):
      pid = project_id
      user = request.user
  
      project_obj = Project.objects.get(pk=pid)
  
      # Does the user own the project
      if project_obj.user == user:
          project_obj.delete()
      else:
          return Response(status=status.HTTP_401_UNAUTHORIZED)
  
      return Response(status=status.HTTP_204_NO_CONTENT)
  
file_path: modelchimp/modelchimp/views/api/project.py
imports: from uuid import uuid4
  from rest_framework import generics, status, mixins
  from rest_framework.response import Response
  from rest_framework.decorators import api_view, permission_classes
  from rest_framework.permissions import IsAuthenticated
  from modelchimp.models.project import Project
  from modelchimp.serializers.project import ProjectSerializer
  from modelchimp.api_permissions import HasProjectMembership
  from modelchimp.models.membership import Membership
  from modelchimp.utils.data_utils import execute_query
label_desc: Use image node_id 3 for calling the ProjectAPI obj's underlying member method code with example usage: obj.delete(request, project_id, format) and returns: Response, Response