AccountService

Enable2FA 开启二步验证,返回 TOTP 二维码 URI 和备份码

post/v1/account/2fa/enable

Request body

AccountV1Enable2FARequest required

Response

OK

backupCodesstring[]

明文备份码列表(仅展示一次,用户需自行保存)

totpUristring

otpauth:// URI,供前端生成二维码

Changes

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