Skip to main content
POST
Confirm the new app

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
totp
string
required

The current code of the new authenticator app.

Pattern: ^\d{6}$

Response

The new recovery codes, shown once.

recovery_codes
string[]
required

Ten single-use codes, XXXXX-XXXXX. Shown once; Niadra keeps only a keyed hash of each, and the earlier codes of the person no longer work.