code: def delete(self, request, project_id):
      model_id = self.request.data.get("model_id")
      model_ids = self.request.data.get("model_ids")
  
      if model_id:
          delete_list = [model_id]
      elif model_ids:
          delete_list = model_ids.split(",")
      else:
          raise ValueError("Experiment ids to delete are not present")
  
      for elem in delete_list:
          obj = Experiment.objects.get(pk=elem)
          obj.delete()
  
      return Response({}, status=status.HTTP_204_NO_CONTENT)
  
file_path: modelchimp/modelchimp/views/api/experiment.py
imports: import logging
  from rest_framework import generics, status
  from rest_framework.response import Response
  from rest_framework.permissions import IsAuthenticated
  from modelchimp.models.experiment import Experiment
  from modelchimp.serializers.experiment import ExperimentSerializer
  from modelchimp.api_permissions import HasProjectMembership
label_desc: Use image node_id 1 for calling the DeleteExperimentAPI obj's underlying member method code with example usage: obj.delete(request, project_id) and returns: Response