Users

Enable TOTP multi-factor authentication

Enable time-based one-time password (TOTP) MFA on the current account. Returns backup codes for account recovery. Requires sudo mode verification.

post/users/@me/mfa/totp/enable

Request body

secretstring required

The TOTP secret key

codestring required

The TOTP verification code

passwordstring
mfa_method'totp' | 'webauthn'

MFA method to use for verification

mfa_codestring

MFA verification code from an authenticator app

webauthn_responseobject

WebAuthn authentication response

webauthn_challengestring

WebAuthn challenge string

Response

Success

Changes

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