1. Docs
  2. API Reference
  3. MfaRecoveryCodesResponseDto

MfaRecoveryCodesResponseDto

Example

JSON
{
  "recovery_codes": [
    "ABCD-EFGH-IJKL-MNOP",
    "QRST-UVWX-YZ23-4567",
    "..."
  ],
  "recovery_codes_generation": 0
}

Properties

2 properties 2 required

recovery_codes array of string Required

Ten freshly-minted single-use codes. **Shown exactly once** — the prior generation is invalidated in the same call and the server only stores hashes from here on.

ExampleABCD-EFGH-IJKL-MNOPQRST-UVWX-YZ23-4567...
recovery_codes_generation number Required

Monotonically-increasing generation number for this batch. Used by the portal admin surface to show "X of 10 remaining" against the current batch.

Was this page helpful?

Tell us how we can improve this guide.