Enable TOTP
post
Authorizations
defguard_sessionstringRequired
Body
codestringRequired
Responses
200
TOTP enabled. Returns recovery codes when this is the first configured factor.
application/json
codesstring[] · nullableOptional
401
Session is missing or invalid.
application/json
404
Invalid TOTP code.
application/json
500
Unable to enable TOTP.
application/json
post/api/v1/auth/totp
Last updated
Was this helpful?