Developer API Help

deleteFile Method

Purpose

You can use this method to delete files attached to records.

Request URL

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

Request Parameters

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

Sample Response

<response uri="/crm/private/xml/Leads/deleteFile">
    <success>
        <code>4800</code>
        <message>Attachment deleted successfully.</message>
    </success>
</response>

Top