Auth

Enroll Webauthn Begin

Generate WebAuthn registration options and create a pending row.

Mirrors :func:enroll_totp — pending row stays inactive until the matching /complete call verifies the attestation.

post/auth/mfa/enroll/webauthn/begin

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/auth/mfa/enroll/webauthn/begin
  • Auth: HTTP bearer

Headers

API-Version'1'

Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.

Request body

labelstring required

Response

Successful Response

method_idinteger required
optionsobject required

Changes

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