PUT - Change Outgoing Status for User

Purpose

The API is used to change the outgoing 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 outgoing status should be changed using this API
outgoingBlocked* BooleanThe outgoingBlocked 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  updateOutgoingStatus To change the Outgoing status for the particular account. 

* - Mandatory parameters

Response Codes

Please refer Response Codes.

Sample Request

Copied{
   "zuid": "1111111",
   "mode": "updateOutgoingStatus",
   "outgoingBlocked": "true"
}