Run Indexer (Azure Search Service REST API)
In addition to running periodically on a schedule, an indexer can also be invoked on demand via the Run Indexer operation:
POST https://[service name].search.windows.net/indexers/[indexer name]/run?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: 202 Accepted is returned for a successful response.