ModifyImagesAttributes
Last updated
Last updated
The API is used to modify the attributes of one or more images.
Note
Only the custom image name and description can be modified for now.
All the specified disks will be modified the same attributes.
The following request parameter list only provides API request parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Parameter Name | Type | Description |
---|---|---|
Modify the attributes of images.
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
HTTP Status Code | Error Code | Description |
---|---|---|
imageIds
Yes
Array of String
ID list of images.
Call DescribeImages
and find imageId
in the response.
imageName
No
String
Image name to be displayed.
This parameter must contain up to 24 characters. Only Chinese characters, letters, numbers, - and _ are supported.
imageDescription
No
String
Image description. This parameter must contain up to 255 characters.
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
404
INVALID_IMAGE_NOT_FOUND
Image not found.
400
INVALID_IMAGE_STATUS
Operations on the image with current status are not supported.