Generate a new TOTP secret
post
Authorizations
defguard_sessionstringRequired
Responses
200
New TOTP secret. It becomes active only after POST /api/v1/auth/totp.
application/json
secretstringRequired
401
Session is missing or invalid.
application/json
500
Unable to generate TOTP secret.
application/json
post/api/v1/auth/totp/init
Last updated
Was this helpful?