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.
Module | Related Module |
Campaigns | Leads |
Products | Leads |
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>
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