mongo_drop_index
Remove a specified index from a MongoDB collection to manage indexes and optimize storage.
Instructions
Drop an index by name on a MongoDB collection. Blocked when readOnly mode is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| indexName | Yes | The name of the index to drop. | |
| collection | Yes | ||
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |