code: def put(self, url_path, data):
          
          request_url = "%s%s" % (self._url, url_path)
          data = ElementTree.tostring(data)
          response = self.session.put(request_url, data)
  
          if response.status_code == 201 and self.verbose:
              print "PUT %s: Success." % request_url
          elif response.status_code >= 400:
              error_handler(JSSPutError, response)
docs: Update an existing object on the JSS.
  
          In general, it is better to use a higher level interface for
          updating objects, namely, making changes to a JSSObject subclass
          and then using its save method.
  
          Args:
              url_path: String API endpoint path to PUT, with ID (e.g.
                  "/packages/id/<object ID>")
              data: xml.etree.ElementTree.Element with valid XML for the
                  desired obj_class.
          Raises:
              JSSPutError if provided url_path has a >= 400 response.