dropIndex( )

Removes an index from a data collection.

The process of dropping an index from a collection takes time. You can check whether your index has been dropped by calling listIndexes().

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Managa Data Indexes
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
dataCollectionIdstringRequired

ID of the data collection for which the index to be dropped is defined.


indexNamestringRequired

Name of the index to drop.


optionsDropIndexOptions

Options for dropping an index.

Was this helpful?
Yes
No