You can use this method to delete files attached to records.
XML Format:
https://crm.zoho.com/crm/private/xml/Leads/deleteFile?authtoken=Auth Token&scope=crmapi&id=Attachment Id
JSON Format:
https://crm.zoho.com/crm/private/json/Leads/deleteFile?authtoken=Auth Token&scope=crmapi&id=Attachment Id
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 file to be deleted. |
* - Mandatory parameter
<response uri="/crm/private/xml/Leads/deleteFile">
<success>
<code>4800</code>
<message>Attachment deleted successfully.</message>
</success>
</response>