Activate email OTP after it was initialized by providing a received OTP, enabling it as a 2FA method
accessToken A valid access token (proof of identity) can be obtained via the /accesstoken endpoint. It has a 5 minutes validity period.
In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/user/2fa/email-otp/enable" \ -H "Content-Type: application/json" \ -d '{ "otp": "string" }'{ "recoveryCodes": [ "string" ]}Collect companies associated with the user GET
Collect company roles associated with the user. This includes: <ul> <li> Any company roles of which the user is either a direct or indirect member, i.e. the user can operate on behalf of that company </li> <li> Any company role such that the user is a member of a role which is directly or indirectly managed by that company </li> </ul>
Activate TOTP POST
Activate the current TOTP secret after it was initialized, enabling TOTP as a 2FA method
6 <= length <= 6