All Products
Search
Document Center

Elastic Compute Service:DeleteImagePipeline

Last Updated:Mar 19, 2024

Deletes an image template.

Operation description

Description

If an image build task based on an image template is in the BUILDING, DISTRIBUTING, RELEASING, or CANCELLING state, you cannot delete the template. You can delete the template only when the image build task is in the SUCCESS, FAILED, or CANCELLED state. You can call the DescribeImagePipelineExecutions operation to query the details of an image build task.

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 template. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
ImagePipelineIdstringYes

The ID of the image template.

ip-2ze5tsl5bp6nf2b3****

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
403InvalidImagePipeline.HasRunningExecution%s
404InvalidImagePipeline.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: 403
    delete Error Codes: 404
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: TemplateTag