docs: def remove_data(self, request, pk=None):
          """Remove data from collection."""
          collection = self.get_object()
  
          if 'ids' not in request.data:
              return Response({"error": "`ids`parameter is required"}, status=status.HTTP_400_BAD_REQUEST)
  
          for data_id in request.data['ids']:
              collection.data.remove(data_id)
  
          return Response()