PUT - Change ActiveSync Status for a User
Purpose
The API is used to change the ActiveSync status of a user from enabled to disabled or vice-versa.
Request URL
https://<hostname>/api/organization/<zoid>/accounts/<accountid>
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 ActiveSync status should be changed using this API |
activeSyncEnabled* | Boolean | The activeSyncEnabled Value can be set to True/ False to enable or disable the ActiveSync status for the account. |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | updateMobileSyncStatus | To change the Active Sync status for the particular account. |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
Copied{
"zuid": "1111111",
"mode": "updateMobileSyncStatus",
"activeSyncEnabled": "true"
}