user

Enroll a user into totp

Creates an initial setup for the user in the db. After this step, the user needs to verify they have a working totp setup with the "enable totp" endpoint.

post/user/settings/totp/enroll

Response

OK

enabledboolean

The totp entry will only be enabled after the user verified they have a working totp setup.

secretstring
urlstring

The totp url used to be able to enroll the user later

Changes

No recorded changes to this endpoint across all 53 revisions of this API.