code: def delete(self, id):
          
          project = db.session.query(Project).filter_by(id=id).first()
  
          if project is None:
              response = jsonify({
                  'projects': None,
                  'message': 'No interface defined for URL.'
              })
              return response, 404
  
          db.session.delete(project)
          db.session.commit()
  
          return jsonify({
              'project': project.serialize
          })
docs: delete.