Backup Codes

Used to interact with the two factor authentication backup codes of the current user.

Create Backup Codes

Create two factor authentication backup codes for the current user. A two factor authenitcation method must be enabled for the environment. Otherwise the endpoint will return an error.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Responses
200

Returns the response for Session wrapped Backup code object.

400

Request was not successful

403

Request was not successful

500

Request was not successful

post/v1/me/backup_codes
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}