Auth

8 new recovery codes with a current code, shown once; the old ones stop working (p19,

Changed on

Needs the signed-in person (no API key) and a current authenticator code not used before (422 TWO_STEP_CODE_WRONG otherwise, counted on the account lock). 409 TWO_STEP_NOT_ON when two-step is off. Stored only as SHA-256 hashes. Behind the two-step rate limit.

post/auth/two-step/recovery-codes

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Request body

object required
code, string required

Response

The new recovery codes

object required
success, true required
data, object required

Changes