All Products
Search
Document Center

Batch Compute:DeleteImage

Last Updated:Apr 12, 2018

Description

Deletes an image that has been created for the BatchCompute service.

Request parameters

Parameter Type Required Description
Id String Yes Cluster ID.

Examples

Request example

  1. DELETE /images/{id}

Response example

Response status code

  1. HTTP/1.1 204 No Content

Error codes

Error code Error message HTTP status code Meaning
InvalidRoleArn Specified parameter RoleArn is not valid. AliyunBatchComputeDefaultRole don’t have access to share image. 400 AliyunBatchComputeDefaultRole is not authorized to share images.
InvalidEcsImageId Specified parameter EcsImageId is not valid. The image is not available. 400 The current status of the ECS image is incorrect.
InvalidResource.NotFound Specified resource is not found. 404 The user requested resource does not exist.