Users > Users > usersTwoFactorBackupPhone
Commerce APIUsersUsersusersTwoFactorBackupPhone
usersTwoFactorBackupPhone
POST:users/two_factor/backup_phone.json

Description

After 2FA enabled for app, you can add a backup phone number.

Topic: Users

Arguments

data: TwoFactorConfig!

Main argument for mutations.


Data Argument Fields

call: Boolean

Call the phone with a voice message instead of using SMS messages

Example: true


country: String

Country code if using local phone number

Example: "US"


phone: String

Use this phone number for two factor auth

Example: "+61123123123"


Result

Boolean

Preview (typescript)

Loading module