Schema
PostUsersLoginErrorResponse
Type:
object
failed user login response or second factor required
detail
· required
Type:
string
Description of the error.
All schema constraints and annotations
{
"description": "Description of the error.",
"example": "Incorrect authentication credentials",
"type": "string"
}login_2fa_token
Type:
string | null
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.All schema constraints and annotations
{
"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": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"type": [
"string",
"null"
]
}All schema constraints and annotations
{
"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": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"type": [
"string",
"null"
]
}
},
"required": [
"detail"
],
"type": "object"
}