Skip to content
Termix
Main Navigation
Home
Docs
Appearance
Menu
Return to top
Enable TOTP authentication
POST
/users/totp/enable
Enable TOTP authentication.
Server: localhost:8081
Authorizations
bearerAuth
Type
HTTP (bearer)
Request Body
application/json
Schema
JSON
JSON
{
"totp_code"
:
"string"
}
Responses
200
401
OK
Content-Type
application/json
Schema
JSON
JSON
{
"message"
:
"string"
,
"backup_codes"
:
[
"string"
]
}
POST
/users/totp/enable
Playground
Server
Select a server...
Authorization
bearerAuth
Body
Try it out
Samples
Powered by
VitePress OpenAPI