FAQs Zoho Desk For Developers Developer Guide

            deleteRecords API Method

            You can use this method to delete the selected record (you must specify unique ID of the record) in Zoho Desk.

            Note:
            • The deleteRecords API method is available for all modules.
            • Using this method, you can only move the records to the recycle bin.
            Request URL Format

            XMLhttps://support.zoho.com/api/xml/MODULE/deleterecords?authtoken=AUTHTOKEN&portal=PORTALNAME&department=DEPARTMENTNAME&id=RECORDID
            JSONhttps://support.zoho.com/api/json/MODULE/deleterecords?authtoken=AUTHTOKEN&portal=PORTALNAME&department=DEPARTMENTNAME&id=RECORDID

            Note:
            • Replace MODULE with any one of these -¬†requests, solutions, accounts, contacts, contracts, products, or tasks.
            • Replace AUTHTOKEN, PORTALNAME, DEPARTMENTNAME,¬†RECORDID with your authtoken, portal name, department name, and record id respectively.
            Request Parameters

            ParameterData TypeDescription
            authtoken*StringEncrypted alphanumeric string to authenticate your Zoho credentials
            portal*StringPortal of your Zoho Desk
            department*StringDepartment of your Zoho Desk
            id*LongSpecify the unique CASE ID of the record

            * - Mandatory parameter

            Sample Request URL
            Here is a sample request URL and its data format.

            Example:
            https://support.zoho.com/api/xml/requests/deleterecords?authtoken=AUTHTOKEN&portal=demosupport& department=demodepartment&id=220909099990

            Result:
            <response uri="/api/xml/requests/deleterecords">
            <result>
            <requests>
            <fl val="Status">Record(s) deleted successfully</fl>
            <fl val="Time">2016-09-06 10:19:25</fl>
            <record>
            <id> 220909099990</id>
            </record>
            </requests>
            </result>
            </response>
            Helpful?  
            Help us to make this article better
            0 0