You can use this method to delete the selected record (you must specify unique ID of the record) which is moved to the recycle bin.
Note:
Request URL to deleterecords:
| XML: | https://support.zoho.com/api/xml/MODULE/deleterecords?apikey=APIKEY&ticket=TICKET& portal=PORTALNAME & department=DEPARTMENTNAME&id=RECORDID |
| JSON: | https://support.zoho.com/api/json/MODULE/deleterecords?apikey=APIKEY&ticket=TICKET& portal=PORTALNAME & department=DEPARTMENTNAME&id=RECORDID |
Note:
Request Parameters:
| Parameters | Type | Description |
| apikey* | String | API key to access your Zoho Support account. |
| ticket* | String | Encrypted alphanumeric string to authenticate your Zoho credentials. You can use the same ticket for 7 days. After 7th day, you must generate a new ticket. |
| portal* | String | portal of your Zoho Support. |
| department* | String | department of your Zoho Support. |
| id* | Long | id of the record to be deleted. |
Sample URL:
https://support.zoho.com/api/xml/requests/deleterecords?apikey=APIKEY&ticket=TICKET& portal=demosupport & department=demodepartment&id=220909099990
Result :
Record Id(s) : 220909099990,Record(s) deleted successfully