Post Two Factor Generate Backup Codes

Generate new backup codes for two-factor authentication

Authentication

AuthorizationBearer
Bearer token authentication

Request

This endpoint expects an object.
passwordstringRequired
The users password.

Response

Backup codes generated successfully
statusboolean
Indicates if the backup codes were generated successfully
backupCodeslist of strings
Array of generated backup codes in plain text

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error