Pular para o conteúdo principal
POST
Start enrolling a required MFA factor

Corpo

application/json
mfaToken
string
obrigatório

The enrollment-only token of a 401 AUT-0019 refusal.

Exemplo:

"eyJhbGciOiJIUzI1NiJ9..."

mfaType
enum<string>
obrigatório

The factor to enroll: one of the availableMethods of the AUT-0019 refusal.

Opções disponíveis:
app,
email
Exemplo:

"app"

Resposta

OK

mfaType
string
obrigatório
Exemplo:

"app"

recoveryCodes
string[] | null
obrigatório

The recovery code to show once and ask the person to keep.

secret
string

The authenticator secret for manual entry. App only.

Exemplo:

"JBSWY3DPEHPK3PXP"

url
string

The otpauth URI to render as a QR code. App only.

Exemplo:

"otpauth://totp/Lerian:ana?secret=JBSWY3DPEHPK3PXP"