---
title: "Regenerate Recovery Codes"
method: POST
path: "/v1/auth/mfa/recovery-codes/regenerate"
tags: ["auth"]
---

# Regenerate Recovery Codes

`POST /v1/auth/mfa/recovery-codes/regenerate`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/auth/mfa/recovery-codes/regenerate`
- Auth: none declared

## Request body

- RegenerateRecoveryIn
  - `current_password` string, required

## Response `200`

Successful Response

- RecoveryCodesOut
  - `recovery_codes` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
