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().

Admin Method

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

Permission Scopes

For app development, you must have one of the following permission scopes:
Managa Data Indexes
Learn more about permission scopes.
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.

Was this helpful?
Yes
No