Delete Ticket Comment API Can't Delete Other Agent Comments

Delete Ticket Comment API Can't Delete Other Agent Comments

I have a script to search for comments with a specific tag, then I want to delete that comment. It's a pretty basic script. My connection is using a generic "service account" to handle our functions, that account is a full admin and the connection has all the required API permissions. My problem is, the function cannot delete comments made by others, it gets "{"errorCode":"FORBIDDEN","message":"You are not authorized to access this resource."}". It can delete comments made by my service account. 

  1. deleteCommentURL = "https://desk.zoho.com/api/v1/tickets/" + TicketID + "/comments/" + commentID;
  2. deleteComment = invokeurl
  3. [
  4. url :deleteCommentURL
  5. type :DELETE
  6. connection:"saconnection"
  7. ];

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方