{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update an image, send a `PUT` request to `/v2/images/$IMAGE_ID`.\nSet the `name` attribute to the new value you would like to use.\nFor custom images, the `description` and `distribution` attributes may also be updated.\n","properties":{"path":{"type":"object","properties":{"image_id":{"type":"integer","examples":[62137902],"description":"A unique number that can be used to identify and reference a specific image."}},"required":["image_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/image_update"}},"required":["path","body"],"additionalProperties":false,"definitions":{"image_update":{"type":"object","properties":{"name":{"$ref":"#/definitions/image_name"},"distribution":{"$ref":"#/definitions/distribution"},"description":{"$ref":"#/definitions/image_description"}}},"image_name":{"type":"string","description":"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.","examples":["Nifty New Snapshot"]},"distribution":{"type":"string","description":"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.","enum":["Arch Linux","CentOS","CoreOS","Debian","Fedora","Fedora Atomic","FreeBSD","Gentoo","openSUSE","RancherOS","Rocky Linux","Ubuntu","Unknown"],"examples":["Ubuntu"]},"image_description":{"type":"string","description":"An optional free-form text field to describe an image.","examples":[" "]}}},"name":"Update an Image","id":"digitalocean.images_update","example":{"path":{"image_id":62137902},"body":{}},"maxRequests":1,"summary":false}}