My account

Generate a TOTP secret

Generate a TOTP secret for the user.

post/api/my-account/mfa-verifications/totp-secret/generate

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/my-account/mfa-verifications/totp-secret/generate
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Response

The TOTP secret was generated successfully.

Changes

No recorded changes to this operation across all 8 revisions of this API.