Reset Indexer (Azure Search Service 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 Search Service 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 Search for details.
The api-key must be an admin key (as opposed to a query key). Refer to the authentication section in Azure Search Service REST to learn more about keys. Create an Azure 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.