Skip to main content
POST
/
api
/
v1
/
auth
/
2fa
/
backup-codes
/
regenerate
Regenerate Backup Codes
curl --request POST \
  --url https://api.example.com/api/v1/auth/2fa/backup-codes/regenerate \
  --header 'Authorization: Bearer <token>'
{
  "codes": [
    "<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

codes
string[]
required