All Products
Search
Document Center

Elastic Compute Service:DeleteImageComponent

Last Updated:Mar 19, 2024

Deletes an image component.

Operation description

Only custom image components can be deleted.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID of the image component. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
ImageComponentIdstringYes

The ID of the image component.

ic-bp67acfmxazb4p****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status codeError codeError message
404InvalidImageComponent.NotFound%s

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

Change history

Change timeSummary of changesOperation
2022-08-30The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 404
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: TemplateTag