Activate the current TOTP secret after it was initialized, enabling TOTP 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
application/json
application/json
curl -X POST "https://example.com/user/2fa/totp/enable" \ -H "Content-Type: application/json" \ -d '{ "totp": "string" }'{ "recoveryCodes": [ "string" ]}6 <= length <= 6