dropIndex( )


Removes an index from a data collection.

The process of dropping an index from a collection takes time. You can check whether an index has been dropped by calling List Indexes.

Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Manage 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.

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?