Enable two-factor authentication for a user.

post/api/user/two-factor/{userId}

Request

  • Base URL: http://localhost:9011
  • URL: http://localhost:9011/api/user/two-factor/{userId}
  • Auth: API key in header Authorization

Path parameters

userIdstring required

The Id of the user to enable two-factor authentication.

Request body

applicationIdstring uuid
authenticatorIdstring
codestring
emailstring
methodstring
mobilePhonestring
namestring
secretstring
secretBase32Encodedstring
twoFactorIdstring

Response

Success

codestring
recoveryCodesstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.