---
title: "Confirm password reset"
description: "Confirm a password reset using the OOB code from the reset email.\n\nThe caller receives the OOB code via the deep-link URL in the reset email\nsent by ``POST /forgot-password``.  This endpoint exchanges that code plus\na new password for a completed Firebase password reset."
---

> Documentation Index
> Fetch the complete documentation index at: https://truememory-docs.mvstg.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Auth API › Auth

`POST /auth/reset-password`

Confirm a password reset using the OOB code from the reset email.

The caller receives the OOB code via the deep-link URL in the reset email
sent by ``POST /forgot-password``.  This endpoint exchanges that code plus
a new password for a completed Firebase password reset.

## Request body

_Required._

- `oob_code` (`reset_password_auth_reset_password_post.oob_code`; string, required)
- `new_password` (`reset_password_auth_reset_password_post.new_password`; string, required)
- `tenant_id` (`reset_password_auth_reset_password_post.tenant_id`; any of, optional)
  - any of: `string`, `null`

## Example request

```json
{
  "oob_code": "string",
  "new_password": "string",
  "tenant_id": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url https://truememory-auth.mvstg.com/auth/reset-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "oob_code": "string",
  "new_password": "string",
  "tenant_id": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://truememory-auth.mvstg.com/auth/reset-password';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({oob_code: 'string', new_password: 'string', tenant_id: 'string'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-auth.mvstg.com/auth/reset-password"

payload = {
    "oob_code": "string",
    "new_password": "string",
    "tenant_id": "string"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Successful Response

#### Example

```json
{
  "status": "ok"
}
```

- `status` (`reset_password_auth_reset_password_post.response.200.status`; string, optional)
  - default `"ok"`

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`reset_password_auth_reset_password_post.response.422.detail`; array<object>, optional)
  - `loc` (`reset_password_auth_reset_password_post.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`reset_password_auth_reset_password_post.response.422.detail.msg`; string, required)
  - `type` (`reset_password_auth_reset_password_post.response.422.detail.type`; string, required)
  - `input` (`reset_password_auth_reset_password_post.response.422.detail.input`; unknown, optional)
  - `ctx` (`reset_password_auth_reset_password_post.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/auth/reset-password/index.md
