code: def update_license(self, license_text):
      
      content = (
          '--MULTI_BOUNDARY',
          'Content-Disposition: form-data; name="license"',
          '',
          license_text,
          '--MULTI_BOUNDARY--',
          '')
      resp = self._get_resource_root().post('cm/license',
          data="\r\n".join(content),
          contenttype='multipart/form-data; boundary=MULTI_BOUNDARY')
      return ApiLicense.from_json_dict(resp, self._get_resource_root())
docs: Install or update the Cloudera Manager license.
  
      @param license_text: the license in text form