---
title: "Changes to Regenerate Backup Codes"
method: POST
path: "/api/user/2fa/backup_codes"
---

# Changes to Regenerate Backup Codes

`POST /api/user/2fa/backup_codes`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 111 revisions.

- **2026-10-15** `6cb670e861f5`: 1 breaking, 2 warning, 12 info

## Changes

- **2026-10-15** `6cb670e861f5`: 1 breaking, 2 warning, 12 info
  - the `data` response's property type changed from no type to `object` for status `200` (media type: application/json)
  - removed the optional property `object` from the response with the `200` status (media type: application/json)
  - removed the optional property `object` from the response with the `200` status (media type: application/xml)
  - added the optional property `data/access_expires_at` to the response with the `200` status (media type: application/json)
  - added the optional property `data/access_expires_at` to the response with the `200` status (media type: application/xml)
  - added the optional property `data/access_token` to the response with the `200` status (media type: application/json)
  - added the optional property `data/access_token` to the response with the `200` status (media type: application/xml)
  - added the optional property `data/session` to the response with the `200` status (media type: application/json)
  - added the optional property `data/session` to the response with the `200` status (media type: application/xml)
  - added the optional property `data/token_type` to the response with the `200` status (media type: application/json)
  - added the optional property `data/token_type` to the response with the `200` status (media type: application/xml)
  - the response property `data` became required for the status `200` (media type: application/json)
  - the response property `data` became required for the status `200` (media type: application/xml)
  - added the required property `data/backup_codes` to the response with the `200` status (media type: application/json)
  - added the required property `data/backup_codes` to the response with the `200` status (media type: application/xml)

---

[Operation](https://skmtc.dev/unorouter/apis/new-api/docs/api/user/2fa/backup_codes/post.md) - [API](https://skmtc.dev/unorouter/apis/new-api.md) - [Page](https://skmtc.dev/unorouter/apis/new-api/changes/api/user/2fa/backup_codes/post)
