User
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
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
length <= 2562 <= length <= 2application/json
TypeScript Definitions
Use the request body type in TypeScript.
emaillength <= 256application/json
application/json
application/json
curl -X POST "https://authentication.eniris.be/user/email/initiate" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'application/json
application/json
application/json
The mail configuration which should be used to send the email
The language which should be used for sending the email
null{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid email address"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "NO_TOKEN_PROVIDED"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "FORBIDDEN_MAIL_PROVIDER"
}{
"statusCode": 429,
"retryAfter": 0,
"error": "Too many requests",
"message": "TOO_MANY_TRANSFER_ATTEMPTS"
}{
"statusCode": 500,
"error": "Internal server error",
"message": "UNABLE_TO_FIND_MAIL_TEMPLATE"
}