-
Notifications
You must be signed in to change notification settings - Fork 0
[POST] 이메일 인증 코드 검증
MoonAyoung edited this page May 31, 2021
·
2 revisions
메소드 | 경로 | 설명 |
---|---|---|
POST | /api/v2/email/verify | 인증 코드 검증합니다. |

{
"Content-Type": "application/json"
}
{
"code": "36P8VT4"
}
인증 성공 시, 비밀번호 재설정할 수 있는 토큰을 전달합니다.
{
"status": 200,
"message": "이메일 인증 성공입니다.",
"data": "[액세스 토큰]"
}
- 인증 실패한 경우

{
"status": 400,
"message": "이메일 인증 실패입니다.",
"data": null
}
- 데이터베이스 에러
{
"status": 500,
"message": "데이터베이스 오류입니다.",
"data": null
}
- 서버 에러
{
"status": 500,
"message": "서버 내부 에러입니다."
}