{
"userId": "string",
"secret": "string",
"recoveryCode": "string"
}
curl --location --request POST 'https://core.authing.cn/api/v2/mfa/totp/import' \
--header 'Authorization: Bearer eyJhb' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": "string",
"secret": "string",
"recoveryCode": "string"
}'
{
"code": 200,
"message": "添加 TOTP 验证器成功",
"data": {
"userId": "61de786b31d27307c7ce66c3",
"enable": true,
"secret": "sdfdf",
"authenticatorType": "totp",
"recoveryCode": "sdfsdfdsf",
"createdAt": "2022-01-13T07:57:54.073Z",
"updatedAt": "2022-01-13T07:57:54.073Z",
"id": "61dfdb82b3f67714c88cc855",
"source": "SELF"
}
}