You can call this operation to delete one or more custom images.


  • Images include system images and custom images. System images cannot be deleted.
  • If an image to delete is used by a desktop bundle, call the DeleteBundles operation to delete the desktop bundle.


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 DeleteImages

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

ImageId.N RepeatList Yes m-gx2x1dhsmusr2****

The IDs of the images that you want to delete. You can configure one or more image IDs. Valid values of N: 1 to 100.

RegionId String Yes cn-hangzhou

The ID of the region where the images to delete are located.

Response parameters

Parameter Type Example Description
RequestId String 347DCC6C-E592-4C05-B74A-9AA6A0475F41

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.