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

ParameterData TypeDescription
zuid* Integerzuid - 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* BooleanThe activeSyncEnabled Value can be set to True/ False to enable or disable the ActiveSync status for the account. 

* - Mandatory parameters

Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode*StringupdateMobileSyncStatus 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"
}