## Update `gpu_droplets.images.update(intimage_id, ImageUpdateParams**kwargs) -> ImageUpdateResponse` **put** `/v2/images/{image_id}` To update an image, send a `PUT` request to `/v2/images/$IMAGE_ID`. Set the `name` attribute to the new value you would like to use. For custom images, the `description` and `distribution` attributes may also be updated. ### Parameters - **image\_id:** `int` - **description:** `str` An optional free-form text field to describe an image. - **distribution:** `Literal["Arch Linux", "CentOS", "CoreOS", 10 more]` The name of a custom image's distribution. Currently, the valid values are `Arch Linux`, `CentOS`, `CoreOS`, `Debian`, `Fedora`, `Fedora Atomic`, `FreeBSD`, `Gentoo`, `openSUSE`, `RancherOS`, `Rocky Linux`, `Ubuntu`, and `Unknown`. Any other value will be accepted but ignored, and `Unknown` will be used in its place. - `"Arch Linux"` - `"CentOS"` - `"CoreOS"` - `"Debian"` - `"Fedora"` - `"Fedora Atomic"` - `"FreeBSD"` - `"Gentoo"` - `"openSUSE"` - `"RancherOS"` - `"Rocky Linux"` - `"Ubuntu"` - `"Unknown"` - **name:** `str` The display name that has been given to an image. This is what is shown in the control panel and is generally a descriptive title for the image in question. ### Returns - `class ImageUpdateResponse` - **image:** `Image` ### Example ```python from do_gradientai import GradientAI client = GradientAI() image = client.gpu_droplets.images.update( image_id=62137902, ) print(image.image) ```