DistributeApp LogoDistributeProject
DistributorSearchReindex

Re-index search database

Deletes all documents in Meilisearch and re-indexes them from the database. Requires an admin JWT.

POST
/search/reindex

Authorization

BearerAuth
Authorization<token>

Type "Bearer" followed by a space and JWT token.

In: header

Response Body

application/json

application/json

application/json

curl -X POST "https://loading/api/search/reindex"
"string"
{
  "error": "Validation failed"
}
{
  "error": "Validation failed"
}