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
A valid sudo token (proof of presence) can be obtained via the /2fa/{method}/verify endpoints. It has a 5 minutes validity period.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://authentication.eniris.be/user/2fa/totp/setup" \ -H "Content-Type: application/json" \ -d '{}'Initiate an email address transfer POST
Providing a sudo token or an access token (if 2FA is disabled), send an email address verification code to a new email address to initiate an account email transfer. Wait at least 60 seconds between successive calls
Time until the next email OTP may be generated GET
Get the minimum time until the next OTP can be sent
