Search

Reset Password

This endpoint resets the regular and readonly tokens of a search index.

POST/v2/search/{id}/reset-password
cURL
curl --request POST \
  --url https://api.upstash.com/v2/search/{id}/reset-password \
  --header 'Authorization: Bearer <token>'
200Response
"OK"

Authorization

Authorizationheaderstringrequired

Bearer authentication header of the form Bearer <token>.

Path parameters

idpathstringrequired

The ID of the search index

Response

200 — Search index passwords reset successfully

Loading search…