AccountService

POST /v1/account/2fa/enable

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

Request

Request body

AccountV1Enable2FARequest required

Response

OK

backupCodesstring[]

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

totpUristring

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

Changes

No recorded changes to this operation across all 11 revisions of this API.