Deletes an image template.
Operation description
If a build task is currently running, you cannot directly delete the template. Wait until the build task reaches a desired state: SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED. You can call DescribeImagePipelineExecutions to query the details of build tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DeleteImagePipeline |
delete |
*ImagePipeline
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the most recent list of Alibaba Cloud regions. |
cn-hangzhou |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the most recent list of Alibaba Cloud regions. |
cn-hangzhou |
| ImagePipelineId |
string |
Yes |
The image template ID. |
ip-2ze5tsl5bp6nf2b3**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InvalidImagePipeline.HasRunningExecution | %s | |
| 404 | InvalidImagePipeline.NotFound | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.