v51

latestSwagger 2.0AGPL-3.0-or-laterraw.githubusercontent.com2026-08-0116998415.7 KB
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