Skip to main content
POST
Initiate MFA Setup

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

id
string
required

User ID.

Example:

"00000000-0000-0000-0000-000000000000"

Body

application/json

Which channel to enrol.

mfaType
string
required
Example:

"app"

Response

OK

enabled
boolean
mfaType
string
Example:

"app"

recoveryCodes
string[]
secret
string
Example:

"JBSWY3DPEHPK3PXP"

url
string
Example:

"otpauth://totp/..."