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

Changes

Changed in 3 of the 15 revisions of this API.23

    • removed the request body

      request-body-removed

    • added the non-success response with the status

      response-non-success-status-added

    • added the success response with the status

      response-success-status-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog