Users

Enable 2FA for the authenticated user

Starts the two-factor-authentication enrolment flow for the currently authenticated user. The shared secret and QR code can be fetched via getCurrentUserTwoFactorQrCode / getCurrentUserTwoFactorSecretKey. The user must then confirm enrolment via actionConfirmCurrentUserTwoFactorAuthentication before 2FA is fully active.

post/user/two-factor-authentication

Request body

object required

An empty request body; reserved for future fields.

Response

2FA enrolment was successfully started.

object nullable required

An empty JSON response.

Changes