Skip to main content
POST
Enable MFA

Autorizações

Authorization
string
header
obrigatório

The authorization token in the 'Bearer ' format.

Parâmetros de caminho

id
string
obrigatório

The unique identifier of the user you want to retrieve.

Corpo

application/json

Information required to enable MFA after passcode verification.

recoveryCode
string
obrigatório

A valid recovery code obtained during MFA setup.

mfaType
enum<string>
obrigatório

The type of MFA to enable.

Opções disponíveis:
app,
email,
sms
secret
string

The TOTP secret (required for app-based MFA).

Resposta

MFA enabled successfully for the user.

enabled
boolean