code: def update_ticket(self, ticket_id, **kwargs):
          
          url = 'tickets/%d' % ticket_id
          ticket = self._api._put(url, data=json.dumps(kwargs))
          return Ticket(**ticket)
docs: Updates a ticket from a given ticket ID