---
title: "Replace the recovery codes (this session must have passed the second factor)"
method: POST
path: "/api/me/mfa/recovery"
tags: ["security"]
---

# Replace the recovery codes (this session must have passed the second factor)

`POST /api/me/mfa/recovery`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/me/mfa/recovery`
- Auth: none declared

## Response `200`

OK.

- RecoveryCodes
  - `recoveryCodes` string[], required

## Other responses

- `403`: Pass the second factor first.

---

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