CRM 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

ParameterData TypeDescription
authtoken*StringEncrypted alphanumeric string to authenticate your Zoho credentials.
scope*StringSpecify the value as crmapi
id*StringSpecify 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>

Share this post :

FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocrm.com