Delete Records

Delete Records

This guide will help you with the following:
      1. Syntax
      2. Example
      3. Response Format
You can delete a record in an extension or vertical solution using the zoho.crm.invokeConnector() deluge task.

Syntax

  1. <Response> = zoho.crm.invokeConnector("crm.delete", <Module & ID values map>);
where,
<Response> is the task response returned as a Map.
<Module & ID values map> is the map variable to hold the module name and record id values. module name is the API name of the module from which the record needs to be deleted. For example, Price_Books is the API Name of Price Books module. Use the Refer Fields in the Deluge Script Editor to learn these names. record id is the ID of the record to be deleted.

Example

  1. deleteRecordMap = map();
  2. deleteRecordMap.put("module", "Leads");
  3. deleteRecordMap.put("id","3388926000000286025");
  4. deleteResp = zoho.crm.invokeConnector("crm.delete", deleteRecordMap);
  5. info deleteResp;

Response Format

Mentioned below is the response generated for the above code.
  1. {"status_code":200,"response":"{\"data\":[{\"code\":\"SUCCESS\",\"details\":{\"id\":\"3388926000000286025\"},\"message\":\"record deleted\",\"status\":\"success\"}]}"}

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                        Manage your brands on social media

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              Zoho Sheet Resources

                                               

                                                  Zoho Forms Resources


                                                    Secure your business
                                                    communication with Zoho Mail


                                                    Mail on the move with
                                                    Zoho Mail mobile application

                                                      Stay on top of your schedule
                                                      at all times


                                                      Carry your calendar with you
                                                      Anytime, anywhere




                                                            Zoho Sign Resources

                                                              Sign, Paperless!

                                                              Sign and send business documents on the go!

                                                              Get Started Now




                                                                      Zoho TeamInbox Resources



                                                                              Zoho DataPrep Resources



                                                                                Zoho DataPrep Demo

                                                                                Get a personalized demo or POC

                                                                                REGISTER NOW


                                                                                  Design. Discuss. Deliver.

                                                                                  Create visually engaging stories with Zoho Show.

                                                                                  Get Started Now









                                                                                                      • Related Articles

                                                                                                      • Data Access - Delete records

                                                                                                        This guide you with the following: Overview Syntax Things to keep in mind Examples Overview The delete record deluge task deletes a form's records which meet a given criteria. The criteria is mandatory. Syntax delete from ...
                                                                                                      • Fetching Records

                                                                                                        This guide will help you with the following: Syntax Example Response Format You can fetch records from a module in an Extension or Vertical Solution using the zoho.crm.getRecords() deluge task. Syntax <Response> = zoho.crm.getRecords(<module ...
                                                                                                      • Searching Records

                                                                                                        This guide will help you with the following: Syntax Example Response Format You can search records of a module in Extensions and Vertical Solutions using the zoho.crm.searchRecords() deluge task. Syntax <Response> = zoho.crm.searchRecords(<module ...
                                                                                                      • Creating Records

                                                                                                        This guide will help you with the following: Syntax Example Response Format Additional Examples Fetching ID of a record created using the zoho.crm.createRecord() task Creating a task with chosen Contact and Account lookups Creating a Lead record and ...
                                                                                                      • Data Access - Fetch Records

                                                                                                        This guide will help you with the following: Overview Return Syntax Things to keep in mind Examples Overview The fetch record deluge task retrieves records from a specified form, when a given criteria is met. The criteria is mandatory. Note: The ...
                                                                                                        Wherever you are is as good as
                                                                                                        your workplace

                                                                                                          Resources

                                                                                                          Videos

                                                                                                          Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                          eBooks

                                                                                                          Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                          Webinars

                                                                                                          Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                          CRM Tips

                                                                                                          Make the most of Zoho CRM with these useful tips.



                                                                                                            Zoho Show Resources