drop-index
Remove an index from a MongoDB database collection to optimize storage and improve performance by eliminating unused indexes.
Instructions
Drop an index for the provided database and collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name | |
| collection | Yes | Collection name | |
| indexName | Yes | The name of the index to be dropped. | |
| type | No | The type of index to be deleted. Is always set to 'classic'. | classic |