Reset Indexer (Azure Cognitive Search REST API)
The Reset Indexer operation resets the change tracking state associated with the indexer. This allows you to trigger from-scratch re-indexing (for example, if your data source schema has changed), or to change the data change detection policy for a data source associated with the indexer. See Create Indexer (Azure Cognitive Search REST API) for information about change tracking state.
POST https://[service name].search.windows.net/indexers/[indexer name]/reset?api-version=[api-version] api-key: [admin key]
The api-version is required. The current version is
2019-05-06. See API versions in Azure Cognitive Search for details.
The api-key must be an admin key (as opposed to a query key). Refer to the authentication section in Azure Cognitive Search REST APIs to learn more about keys. Create an Azure Cognitive Search service in the portal explains how to get the service URL and key properties used in the request.
Status Code: 204 No Content for a successful response.