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