Update an image

Updates a private image.

📘

You can't update the regions with this operation. Use the Replicate an image operation to modify the existing regions for your image.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: update_image
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: images:read_write

CLI

linode-cli images update private/12345 \ --label "My gold-master image" \ --description "The detailed description \ of my image."

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
string
required

The unique identifier assigned to the image after creation.

Body Params
string | null

A detailed description of this image.

string

Filterable A short description of the image.

tags
array of strings
length between 0 and 500

Filterable Tags used for organizational purposes. A tag can be from 3 to 100 characters long, and an image can have a maximum of 500 total tags.

tags
Responses

Response body
object
capabilities
array of strings
required

Read-only A list of the possible capabilities of this image.

  • cloud-init. The image supports the cloud-init multi-distribution method with our Metadata service. This only applies to public images.

  • distributed-sites. Whether the image can be used in distributed compute regions. Compared to a core compute region, distributed compute regions offer limited functionality, but they're globally distributed. Your image can be geographically closer to you, potentially letting you deploy it quicker. See Regions and images for complete details.

capabilities*
date-time
required

Read-only When this image was created.

string
required

Read-only The name of the user who created this image, or linode for public images.

boolean
required

Filterable, Read-only A true value indicates a deprecated image. Only public images can be deprecated.

string | null
required

A detailed description of this image.

date-time | null
required

Read-only The time of the public image's planned removal from service. This is null for private images.

date-time | null
required

Read-only Only images created automatically from a deleted compute instance (type=automatic) expire. This is null for private images.

string
required

Read-only The unique identifier for each image.

shared_with | shared_by
required

Details about image sharing.

boolean
required

Filterable, Read-only A true value if the image is a public distribution image. A false value indicates private, account-specific images.

string
enum
required

Filterable, Read-only A true value for shared private images. none for images shared within a group.

true false none

string
required

Filterable A short description of the image.

regions
array of objects
required

Read-only Details on the regions where this image is stored. See Regions and images for full details on support for regions.

regions*
object
string

The unique identifier for the core compute region where this image is stored.

string
enum

The status of the image in this region. Possible values are available, creating, pending, pending deletion, pending replication, or replicating.

available creating pending pending deletion pending replication replicating

integer
required

Filterable, Read-only The minimum size in MB this image needs to deploy.

string
enum
required

Filterable, Read-only The current status of the image. Possible values are available, creating, and pending_upload.

📘

The +order_by and +order operators are not available when filtering on this key.

creating pending_upload available

tags
array of strings
required
length between 0 and 500

Filterable Tags used for organizational purposes. A tag can be from 3 to 100 characters long, and an image can have a maximum of 500 total tags.

tags*
integer
required

Read-only The total size in bytes of all instances of this image, in all regions.

📘

This object is empty for existing images. It's intended for use with future functionality.

string
enum
required

Filterable, Read-only How the image was created. Create a manual image at any time. An automatic image is created automatically from a deleted compute instance. Other users within share groups can access a shared image.

manual automatic shared

date-time
required

Read-only When this image was last updated.

string | null
required

Filterable, Read-only The upstream distribution vendor. This is null for private images.

Language
Credentials