delink Method

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 using API. To get the IDs of parent and child records use <<>> method.

 Modules Supported

Module Related Module
Campaigns

Leads
Contacts

Products

Leads
Accounts
Contacts
Potentials
Price Books

 Request URL

XML Format:
https://crm.zoho.com/crm/private/xml/<Module>/delink?id=<Record ID>&authtoken=Auth Token&scope=crmapi&relatedId=<Related Record ID>&relatedModule=<Related-Module> 

JSON Format:
https://crm.zoho.com/crm/private/json/<Module>/delink?id=<Record ID>&authtoken=Auth Token&scope=crmapi&relatedId=<Related Record ID>&relatedModule=<Related-Module>

 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.
relatedId* String Specify unique ID of the child record.
relatedModule* String Specify name of the related module. For details, refer CRM Modules & Fields 

* - Mandatory parameter

    • Related Articles

    • delink Method - Comparison

      Purpose To disassociate the relationship between parent and child records. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/<Module>/delink?id=<Record ID>&authtoken=AuthToken&scope=crmapi&relatedId=<Related Record ...
    • deleteRecords Method

      Table of Contents Purpose Request URL Request Parameters Example 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. ...
    • 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: ...