PostUsersLoginErrorResponse 스키마
PostUsersLoginErrorResponse 스키마
실패한 사용자 로그인 응답 또는 2차 인증 필요 응답이에요.
출처: 문서
본문
스키마 — PostUsersLoginErrorResponse · 유형: object — 실패한 사용자 로그인 응답 또는 2차 인증 필요 응답.
detail · 필수 — 유형: string — 오류에 대한 설명.
{
"description": "Description of the error.",
"example": "Incorrect authentication credentials",
"type": "string"
}
login_2fa_token — 유형: string | null — 인증을 완료하기 위해 /v2/users/2fa-login에서 사용할 단기 토큰. 이 필드는 2FA가 활성화된 경우에만 나타나요.
{
"description": "Short time lived token to be used on `/v2/users/2fa-login` to complete the authentication. This field is present only if 2FA is enabled.\n",
"example": "eyJhbG...sw5c",
"type": [
"string",
"null"
]
}
전체 스키마:
{
"description": "failed user login response or second factor required",
"examples": [
{
"detail": "Incorrect authentication credentials"
}
],
"properties": {
"detail": {
"description": "Description of the error.",
"example": "Incorrect authentication credentials",
"type": "string"
},
"login_2fa_token": {
"description": "Short time lived token to be used on `/v2/users/2fa-login` to complete the authentication. This field is present only if 2FA is enabled.\n",
"example": "eyJhbG...sw5c",
"type": [
"string",
"null"
]
}
},
"required": [
"detail"
],
"type": "object"
}