PUT - Change TFA Status for user
Purpose
The API is used to change the TFA Preference of a user from enabled to disabled or vice-versa.
Request URL
https://<hostname>/api/organization/<zoid>/accounts/<accountid>
Scope
organization.accounts
Request Parameters
Parameter | Data Type | Description |
zuid* | Integer | zuid - The unique Zoho User Identifier for the organization |
accountid* | Integer | Account Id of the user whose TFA status should be changed using this API |
tfaEnabled* | Boolean | The tfaEnabled Value can be set to True/ False to enable or disable the Two Factor Authentication for the account. |
Password* | String | Admin Password |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | updateTFAStatus | To change the TFA status for the particular account. |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
Copied{
"zuid": 1502252,
"tfaEnabled": true,
"mode": "updateTFAStatus"
}