---
title: "Changes to For a completed MFA enrollment regenerate the recovery codes"
method: POST
path: "/current-identity/mfa/recovery-codes"
---

# Changes to For a completed MFA enrollment regenerate the recovery codes

`POST /current-identity/mfa/recovery-codes`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 11 revisions.

- **2024-06-07** `26670d8bbc37`: 1 breaking, 1 info
- **2024-05-29** `cce2800c1357`: 1 breaking, 3 warning, 1 info

## Changes

- **2024-06-07** `26670d8bbc37`: 1 breaking, 1 info
  - removed the required property `error` from the response with the `200` status
  - added the required property `data` to the response with the `200` status
- **2024-05-29** `cce2800c1357`: 1 breaking, 3 warning, 1 info
  - removed the required property `data` from the response with the `200` status
  - the optional response header `WWW-Authenticate` removed for the status `200`
  - the optional response header `WWW-Authenticate` removed for the status `401`
  - the optional response header `WWW-Authenticate` removed for the status `404`
  - added the required property `error` to the response with the `200` status

---

[Operation](https://skmtc.dev/openziti/apis/ziti-edge-client/docs/current-identity/mfa/recovery-codes/post.md) - [API](https://skmtc.dev/openziti/apis/ziti-edge-client.md) - [Page](https://skmtc.dev/openziti/apis/ziti-edge-client/changes/current-identity/mfa/recovery-codes/post)
