Enable Two Factor Authentication(2fa) on a client account.
INFO
This function will be called two times. The first time will generate the secret code, this code will need to be placed in your Authentication app to generate the 6 digit authentication code. Once you get the 6 digit code, you can then place that code in the "code" parameter and run the request again, this will enable 2fa.
Request
Query Params
Responses
🟢200Success
application/json
Body
🟠400Bad Request
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://epicauth.cc/api/1.3/?type=2faenable&sessionid&name&ownerid&code'