PUT - Change Incoming Status of the User

Purpose

The API is used to change the incoming 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 incoming status should be changed using this API
incomingBlocked* BooleanThe incomingBlocked Value can be set to True/ False to enable or disable the incoming for the account. 

* - Mandatory parameters

Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String 

 updateIncomingStatus

 To change the Incoming status for the particular account. 

* - Mandatory parameters

Response Codes

Please refer Response Codes.

Sample Request


				{
   "zuid": "1111111",
   "mode": "updateIncomingStatus",
   "incomingBlocked": "true"
}