POST
/
mfa
/
backup-codes
Regenerate backup recovery codes
curl --request POST \
  --url https://coreapi-dev.us.bcpapers.ca/mfa/backup-codes \
  --header 'Authorization: <api-key>'
{
  "codes": [
    "<string>"
  ],
  "remaining": 123
}

Authorizations

Authorization
string
header
required

Paste the JWT token only (no "Bearer " prefix needed — the UI adds it automatically).

Response

200 - application/json

OK

codes
string[]
remaining
integer