You can use this method to delete photos of Leads or Contacts.
XML Format:
For Leads:
https://crm.zoho.com/crm/private/xml/Leads/deletePhoto?authtoken=Auth Token&scope=crmapi&id=RecordID
For Contacts:
https://crm.zoho.com/crm/private/xml/Contacts/deletePhoto?authtoken=Auth Token&scope=crmapi&id=RecordID
JSON Format:
For Leads:
https://crm.zoho.com/crm/private/json/Leads/deletePhoto?authtoken=Auth Token&scope=crmapi&id=RecordID
For Contacts:
https://crm.zoho.com/crm/private/json/Contacts/deletePhoto?authtoken=Auth Token&scope=crmapi&id=RecordID
Parameter | Data Type | Description |
authtoken* | String | Encrypted alphanumeric string to authenticate your Zoho credentials. |
scope* | String | Specify the value as crmapi |
id* | String | Specify unique ID of the record |
* - Mandatory parameter
<response uri="/crm/private/xml/Leads/deletePhoto">
<result>
<message>Photo deleted successfully</message>
</result>
</response>