For the complete documentation index, see llms.txt. This page is also available as Markdown.

Generate a new TOTP secret

Applies to the user of the current session.

post
Authorizations
defguard_sessionstringRequired
Responses
200

New TOTP secret. It becomes active only after POST /api/v1/auth/totp.

application/json
secretstringRequired
post/api/v1/auth/totp/init
POST /api/v1/auth/totp/init HTTP/1.1
Accept: */*
{
  "secret": "text"
}

Last updated

Was this helpful?