auth

Enable two-factor authentication

Changed on
post/auth/2fa/enable

Request

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"
  }
}

Changes