Repository navigation
2FA
URL: /api/admin/2fa/enable
Method: POST
Description: Enables Two-Factor Authentication (2FA) for the authenticated user and provides a QR code for setting up 2FA in an authenticator app.
This endpoint does not require any parameters.
{
"success": true,
"message": "",
"data": {
"image": "sample.img",
"secret": "example_secret_key"
}
}URL: /api/admin/2fa-recovery-code
Method: POST
Description: Generates a new recovery code for the user and returns it in the response.
This endpoint does not require any parameters.
{
"success": true,
"message": "",
"data": {
"code": "new_recovery_code"
}
}URL: /api/admin/2fa/setupValidate
Method: POST
Description: Validates the provided 2FA token and enables 2FA for the user if the token is correct.
| Parameter | Type | Required/Optional | Description |
|---|---|---|---|
totp |
string | Required | The one-time password (2FA token) provided by the user. |
{
"success": true,
"message": "Passcode is valid"
"data": "",
}URL: /api/admin/2fa/disable
Method: POST
Description: Disables two-factor authentication (2FA) for the authenticated user and clears any associated backup codes.
This endpoint does not require any parameters.
{
"success": true,
"message": "2 Factor Authentication has been disabled"
"data": "",
}URL: /api/admin/2fa/downloadRecoveryCode
Method: GET
Description: Downloads a file containing backup recovery codes for the authenticated user.
This endpoint does not require any parameters.
SAVE YOUR BACKUP CODES
Keep these backup codes somewhere safe but accessible.
'kbdhbhdbki7y3e623' 'buyvb782eh2ndkkh'
(admin), * You can only use each backup code once.
* Need more? [base_url]URL: /api/admin/verify/password
Method: POST
Description: Verifies the provided password for the authenticated user.
| Parameter | Type | Required/Optional | Description |
|---|---|---|---|
password |
string | Required | The password to be verified. |
{
"success": true,
"message": "Password is Verified"
"data": "",
}Did you find it helpful? If not email us on support@faveohelpdesk.com
Products
Users
Orders
Invoice
Pages
Settings
-
- Tenant Creation API
- Change Domain API
- View Tenant
- Get Tenants
- Delete Tenant
- Delete Cloud Instance for Client
- Enable Cloud
- Domain Cloud Autofill
- Order Domain Cloud Autofill
- Upgrade Cost Calculator API Documentation
- Agent Alteration API Documentation
- Upgrade/Downgrade Cloud Service API Documentation
- Currency Formatting API Documentation
- Currency Format Processing API Documentation
- Payment Calculation API Documentation
- Update User Session API Documentation
-
License Manager API