auth

Totp Setup

Begin TOTP enrollment. Returns a fresh secret + otpauth URI.

Calling this while a half-finished secret exists (totp_enabled=0, secret!=NULL) rotates to a new secret — simplest UX and the old secret was never confirmed.

post/api/auth/totp/setup

Request

  • Base URL: https://kernelscan.io
  • URL: https://kernelscan.io/api/auth/totp/setup
  • Auth: none declared

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.