All Products
Search
Document Center

Cloud Phone:DeleteImages

Last Updated:Aug 28, 2026

Deletes one or more custom images.

Operation description

You cannot delete an image that is currently in use by an instance group.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ImageIds

array

Yes

The IDs of the images.

string

No

The ID of the image.

imgc-kjsdfkjsk****

Response elements

Element

Type

Description

Example

object

The response body.

Data

object

The image deletion results.

SuccessDeleteImageIds

array

The IDs of the images that are successfully deleted.

string

The ID of the image that is successfully deleted.

imgc-jkafjsjk****

FailDeleteImageIds

array

The IDs of the images that failed to be deleted.

string

The ID of the image that failed to be deleted.

imgc-sjkdfs8****

RequestId

string

The request ID.

4610632D-D661-5982-B3D7-5D3FD183F595

Examples

Success response

JSON format

{
  "Data": {
    "SuccessDeleteImageIds": [
      "imgc-jkafjsjk****"
    ],
    "FailDeleteImageIds": [
      "imgc-sjkdfs8****"
    ]
  },
  "RequestId": "4610632D-D661-5982-B3D7-5D3FD183F595"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.