Use findByIdAndRemove to Delete Documents

blogsRouter.delete('/:id', async (request, response) => {
await Blog.findByIdAndRemove(request.params.id)
response.status(204).end()
})

Source -> Mongoose: findByIdAndRemove method