code: def edit_ticket_links(self, ticket_id, **kwargs):
          
          post_data = ''
          for key in kwargs:
              post_data += "{}: {}\n".format(key, str(kwargs[key]))
          msg = self.__request('ticket/{}/links'.format(str(ticket_id), ),
                               post_data={'content': post_data})
          state = msg.split('\n')[2]
          return self.RE_PATTERNS['links_updated_pattern'].match(state) is not None
docs: Edit ticket links.
  
          .. warning:: This method is deprecated in favour of edit_link method, because
             there exists bug in RT 3.8 REST API causing mapping created links to
             ticket/1. The only drawback is that edit_link cannot process multiple
             links all at once.
  
          :param ticket_id: ID of ticket to edit
          :keyword kwargs: Other arguments possible to set: DependsOn,
                           DependedOnBy, RefersTo, ReferredToBy, Members,
                           MemberOf. Each value should be either ticker ID or
                           external link. Int types are converted. Use empty
                           string as value to delete existing link.
          :returns: ``True``
                        Operation was successful
                    ``False``
                        Ticket with given ID does not exist or unknown parameter
                        was set (in this case all other valid fields are changed)