User
Get the minimum time until the next recovery code guess may be made
A valid access token (proof of identity) can be obtained via the /accesstoken endpoint. It has a 5 minutes validity period.
In: header
application/json
application/json
application/json
curl -X GET "https://authentication.eniris.be/user/2fa/recovery-code/next-guess"application/json
{
"duration": 0
}{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid email address"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "NO_TOKEN_PROVIDED"
}{
"statusCode": 409,
"error": "Conflict",
"message": "RECOVERY_CODES_UNINITIALIZED"
}