<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>There is an <i>Update Image </i>API, documented at
<a class="moz-txt-link-freetext" href="https://docs.openstack.org/api-ref/image/v2/index.html?expanded=update-image-detail#update-image">https://docs.openstack.org/api-ref/image/v2/index.html?expanded=update-image-detail#update-image</a>.
      It does require an HTTP request body in JSON format.<br>
    </p>
    <p>However, it updates the <i>image catalog entry, </i>not the
      image data. If you want to replace image data, this is not
      possible, since the image catalog entry contains a checksum that
      can't be modified. Modified image data would not correspond to the
      checksum anymore (see the second note under
      <a class="moz-txt-link-freetext" href="https://docs.openstack.org/api-ref/image/v2">https://docs.openstack.org/api-ref/image/v2</a>, which also states
      "images are immutable").</p>
    <p>Bernd Bausch.<br>
    </p>
    <div class="moz-cite-prefix">On 2021/10/06 11:01 PM, Adivya Singh
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+ykd60vjwH4x6Oopra700t-2KK0Xgxnj-JV-sFaVjupR8ix8Q@mail.gmail.com">
      <div>Can you please list me , what i have to do different while
        updating Image in Glance using a API call, Can Some body share
        the Syntax for the same, Do i need to create a JSON file for the
        same</div>
    </blockquote>
  </body>
</html>