Appearance
활성화 Tier 3
POST/auth/tfa.enableCopied!
OTP로 2단계 인증을 활성화하고 백업 코드를 발급해요.
접근 가능한 사용자
사용자
Request
Body
codestringrequired OTP 코드
Response
Returns 201 Created.
codestring[] 백업 코드 (10자리)
Example: 1234567890
Example
bash
curl -X POST 'https://api.youvico.com/auth/tfa.enable' \
-H 'Authorization: Bearer xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...' \
-H 'Content-Type: application/json' \
-d '{
"code": "123456"
}'json
{
"code": [
"1234567890",
"2345678901",
"3456789012"
]
}