v1

latestOpenAPI 3.0.3Apache 2.02026-07-1710047196.1 KB
auth

Enable two-factor authentication

post/auth/2fa/enable

Response

Two-factor authentication enabled successfully

statusstring
messagestring
statusCodeinteger

Example response

{
  "status": "success",
  "message": "Two-factor authentication enabled successfully",
  "statusCode": 201,
  "data": {
    "secret": "secret",
    "qr_code": "qr_code"
  }
}