You can call this operation to modify the properties of images.


You can call this operation to modify the properties of only custom images in the Available (Available) state.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyImageAttribute

The operation that you want to perform. Set the value to ModifyImageAttribute.

Description String Yes testDescription

The description of the image.

ImageId String Yes m-2g65ljy3ynrdq****

The ID of the image.

RegionId String Yes cn-hangzhou

The region ID of the image.

Name String No testName

The name of the image.

Response parameters

Parameter Type Example Description
RequestId String 4636DBE0-BBB4-4076-8B8E-94D21A9A3CFB

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.