User
Providing a sudo token, deactivate TOTP if it is active
sudoToken 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
application/json
application/json
application/json
application/json
curl -X DELETE "https://authentication.eniris.be/user/2fa/totp"null{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid email address"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "NO_TOKEN_PROVIDED"
}{
"statusCode": 409,
"error": "Conflict",
"message": "TOTP_ALREADY_INACTIVE"
}