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 

 http://<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*String

updateMobileSyncStatus

 To change the Active Sync status for the particular account. 

* - Mandatory parameters

Response Codes

Please refer Response Codes.

Sample Request


				{
   "zuid": "1111111",
   "mode": "updateMobileSyncStatus",
   "activeSyncEnabled": "true"
}