User
application/jsonapplication/json
application/json
curl -X DELETE "https://authentication.eniris.be/user/2fa/email-otp"null{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid email address"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "NO_TOKEN_PROVIDED"
}{
"statusCode": 409,
"error": "Conflict",
"message": "EMAIL_OTP_ALREADY_INACTIVE"
}Providing a sudo token, deactivate email OTP if it is active
A valid sudo token (proof of presence) can be obtained via the /2fa/{method}/verify endpoints. It has a 5 minutes validity period.