App.delete() method

Hey guys,

I’m new to the node.js and I’m trying to implement http delete method to my app , Here is the code
let todoItems = [{

todo: 'Walk',

id : 1




id : 2


const express = require(‘express’)

let app = new express();

let bodyParser = require(‘body-parser’)


Can you guys please tell me how to delete object in array with id using app.delete method?