All Products
Search
Document Center

Cloud Phone:DeleteImages

Last Updated:Jul 25, 2025

Deletes a custom image.

Operation description

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

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ImageIdsarrayYes

The IDs of the images.

ImageIdstringYes

The ID of the image.

imgc-kjsdfkjsk****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

Dataobject

The images.

SuccessDeleteImageIdsarray

The IDs of the images that are successfully deleted.

SuccessDeleteImageIdstring

The ID of the image that is successfully deleted.

imgc-jkafjsjk****
FailDeleteImageIdsarray

The IDs of the images that failed to be deleted.

FailDeleteImageIdstring

The ID of the image that failed to be deleted.

imgc-sjkdfs8****
RequestIdstring

The ID of the request.

4610632D-D661-5982-B3D7-5D3FD183F595

Examples

Sample success responses

JSONformat

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

Error codes

For a list of error codes, visit the Service error codes.