Skip to navigation

Regenerate Backup Codes

Generate a new set of 8 backup codes. All previously issued backup codes are invalidated.

Authentication: Required — Bearer token.

Response:

  • backup_codes — Array of 8 new one-time backup codes

Side effects: Replaces all existing backup codes. Any previously saved backup codes will no longer work.

Note: Each backup code can only be used once. Store them securely as a fallback if the authenticator app is unavailable.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.

Response

OK