This operation allows you to generate or update the indexes for content; such as users, groups, and items stored in the database (store). During the process of upgrading an earlier version of Portal for ArcGIS, you are required to update the indexes by running this operation. You can check the status of your indexes using the status resource.
The reindex operation may take a while to finish. During this time, the index service may not respond correctly to index queries.
The mode in which the indexer should run.
Values: USER_MODE | GROUP_MODE | SEARCH_MODE | FULL
An optional comma separated list of elements to include in the index. This is useful if you want to only index certain items or user accounts.
The response format. The default value is html.
Values: html | json
https://portal.domain.com/arcgis/portaladmin/system/indexer/reindex mode=full f=json