PUT - Update Organization Spam Processing Type

 Purpose

The API updates the Organization's Spam Processing type using which you can disable or set the level of Spam Filter needed for the organization. The Spam configuration would be set as per the value provided in the JSON Object. 

 Request URL 

 http://mail.zoho.com/api/organization/<zoid>

 Request Parameters

ParameterData TypeDescription
zoid*Integerzoid - The unique Zoho Organization Identifier for the organization 

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String 

 updateSpamProcessType

 To modify the Spam Process Type for the Organization. 

zoid* Integerzoid of the Organization

 Provide the Organization ID for which the Spam Process Type should be updated

SpamVO* Container Object   Array containing the type and value parameters
type* String spamProcessType  
Value* String

 Off
 complete

 content

 sender

 sender_header 

 The organizations Spam Processing can be disabled using 'Off' and other filter levels can be turned on or completely enabled using other values. 

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request

The below request sets the Organization Spam Filtering level to 'Sender Header' instead of complete Spam Processing.


				{
   "zoid": 12345,
   "mode": "updateSpamProcessType",
   "spamVO": {
      "spamProcessType": "sender_header"
   }
}