User
application/json
application/json
curl -X GET "https://authentication.eniris.be/user/2fa"{
"enabled": true,
"emailOtp": {
"email": "user@example.com",
"completedAt": "2019-08-24T14:15:22Z"
},
"totp": {
"completedAt": "2019-08-24T14:15:22Z"
},
"recoveryCodes": {
"completedAt": "2019-08-24T14:15:22Z"
}
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "NO_TOKEN_PROVIDED"
}Get an object with the active 2FA methods for your account and when they were enabled
A valid access token (proof of identity) can be obtained via the /accesstoken endpoint. It has a 5 minutes validity period.