Auth

Confirm the code and switch the factor on

Returns ten single-use recovery codes. They are shown once and stored only as hashes.

post/v1/auth/2fa/enable

Request

  • Base URL: https://api.briefgate.dev
  • URL: https://api.briefgate.dev/v1/auth/2fa/enable
  • Auth: HTTP bearer

Request body

codestring required

Response

Enabled

enabledboolean
recovery_codesstring[]
warningstring

Changes

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