User
Get the minimum time until the next OTP can be sent
AuthorizationBearer <token>
A valid access token (proof of identity) can be obtained via the /accesstoken endpoint. It has a 5 minutes validity period.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://authentication.eniris.be/user/2fa/email-otp/next-email"{
"duration": 0
}{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid email address"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "NO_TOKEN_PROVIDED"
}{
"statusCode": 409,
"error": "Conflict",
"message": "EMAIL_OTP_UNINITIALIZED"
}Set or reset TOTP POST
Providing a sudo token (or an access token if 2FA is disabled), generate a new TOTP secret. This secret is inactive until the TOTP setup is completed
Send a password reset email POST
Send a password reset email to an existing user. Wait at least 60 seconds between successive calls
