AuthTOTP

Verify TOTP

post

Verify TOTP code and complete the login process. This endpoint is used after initial login when TOTP is required.

Authorizations
AuthorizationstringRequired
Body
temp_tokenstringRequired

Temporary token received from initial login

Example: eyJ0eXA...
tokenstringRequired

TOTP verification code

Example: 123456
Responses
chevron-right
200

The TOTP verification was successful and login is completed.

application/json
post
/api/v1/auth/totp/verify/

Setup TOTP

post

Setup TOTP authentication.

Authorizations
AuthorizationstringRequired
Responses
post
/api/v1/auth/totp/setup/

Activate TOTP

post

Activate TOTP authentication by verifying the TOTP code.

Authorizations
AuthorizationstringRequired
Body
tokenstringRequired

TOTP verification code

Example: 123456
Responses
chevron-right
200

The TOTP activation was successful.

application/json
post
/api/v1/auth/totp/activate/

Deactivate TOTP

post

Deactivate TOTP authentication for the current user.

Authorizations
AuthorizationstringRequired
Responses
chevron-right
200

The TOTP deactivation was successful.

No content

post
/api/v1/auth/totp/deactivate/

No content

Last updated

Was this helpful?