# Reset Index Passwords

> This endpoint is used to reset regular and readonly tokens of an index.

## Endpoint

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

## Parameters

- `id` (path, string, required): The unique ID of the index to reset the password for

## Responses

### 200 - Index passwords reset successfully


## cURL

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