Skip to main content
POST
/
api
/
v1
/
auth
/
2fa
/
enable
Enable 2Fa
curl --request POST \
  --url https://api.example.com/api/v1/auth/2fa/enable \
  --header 'Authorization: Bearer <token>'
{
  "secret": "<string>",
  "qr_code_uri": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.apilens.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

OK

secret
string
required
qr_code_uri
string
required