mongodb – Indexes – Delete

To drop an index you could use the index name

db.people.dropIndex("nameIndex")

Or the index specification document

db.people.dropIndex({name: 1})

if you want to reproduce, please indicate the source:
mongodb – Indexes – Delete - CodeDay