# Reset Password

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

## Endpoint

`POST https://api.upstash.com/v2/search/{id}/reset-password`

## Parameters

- `id` (path, string, required): The ID of the search index

## Responses

### 200 - Search index passwords reset successfully


## cURL

```bash
curl --request POST \
  --url https://api.upstash.com/v2/search/{id}/reset-password \
  --header 'Authorization: Bearer <token>'
```
