Skip to content

Get lockout status

GET
/api/mfa/lockout-status
curl --request GET \
--url http://localhost:3001/api/mfa/lockout-status \
--header 'Authorization: <Authorization>'

Retrieve the current account lockout status for the authenticated user

OK

Media typeapplication/json
object
account
object
failed_attempts
integer
is_locked
boolean
lock_reason
string
locked_until
string
success
boolean
Examplegenerated
{
"account": {
"failed_attempts": 1,
"is_locked": true,
"lock_reason": "example",
"locked_until": "example"
},
"success": true
}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}