Appearance
티켓 생성 Tier 3
POST/auth/tfa.generateCopied!
OTP나 백업 코드로 단기 TFA 티켓을 발급해요.
접근 가능한 사용자
사용자
Request
Body
codestringrequired OTP 또는 백업 코드
Response
Returns 201 Created.
ticketstring TFA 티켓 (JWT, 10분 유효)
Example: xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...
Example
bash
curl -X POST 'https://api.youvico.com/auth/tfa.generate' \
-H 'Authorization: Bearer xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...' \
-H 'Content-Type: application/json' \
-d '{
"code": "123456"
}'json
{
"ticket": "xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK..."
}