User
Authorization
accessToken AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
otp*string
Length
6 <= length <= 6application/json
application/json
application/json
application/json
curl -X PUT "https://authentication.eniris.be/user/email" \ -H "Content-Type: application/json" \ -d '{ "otp": "string" }'null{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid email address"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "NO_TOKEN_PROVIDED"
}{
"statusCode": 409,
"error": "Conflict",
"message": "NEW_EMAIL_ALREADY_IN_USE"
}Complete an account email transfer
A valid access token (proof of identity) can be obtained via the /accesstoken endpoint. It has a 5 minutes validity period.