deleteRecords Method

deleteRecords Method

Purpose

You can use this method to delete the selected record (you must specify unique ID of the record) and move to the recycle bin.

Note:

  • This method is availablefor all modules. Using this method, you cannot delete the records permanently from your account.

Request URL

XML Format:
https://crm.zoho.com/crm/private/xml/Leads/deleteRecords?authtoken=Auth Token&scope=crmapi&id=Record ID

JSON Format:
https://crm.zoho.com/crm/private/json/Leads/deleteRecords?authtoken=Auth Token&scope=crmapi&id=Record 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 record

* - Mandatory Parameter

Example

URL Format:
https://crm.zoho.com/crm/private/xml/Leads/deleteRecords?authtoken=Auth Token&scope=crmapi&id=Record ID

    • Related Articles

    • deleteRecords Method - Comparison

      Purpose To delete the selected records. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/Leads/deleteRecords?authtoken=AuthToken&scope=crmapi&id=Record ID Version 2.0: URL: https://www.zohoapis.com/crm/v2/Leads/{record_id} Method: DELETE ...
    • downloadPhoto Method

       Purpose You can use this method to download the photos of Leads or Contacts.  Request URL XML Format: For Leads: https://crm.zoho.com/crm/private/xml/Leads/downloadPhoto?authtoken=Auth Token&scope=crmapi&id=RecordID For Contacts: ...
    • searchRecords Method

       Purpose You can use the searchRecords method to get the list of records that meet your search criteria.  Request URL XML Format: https://crm.zoho.com/crm/private/xml/Leads/searchRecords?authtoken=Auth Token&scope=crmapi&criteria=(((Last ...
    • 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: ...
    • delink Method

       Purpose You can use the delink method to dissassociate the relationship between parent and child records. For example, cases or tasks that are associated with account can be delinked, so that cases or tasks can be associated with another account ...