文档

删除镜像

DeleteImage

描述

删除已经在BatchCompute服务上创建的镜像。

请求语法

请求行:

  1. DELETE /images/{id} HTTP/1.1

请求方法为 DELETE ,请求资源为 images ,属性说明如下:

属性名称 类型 是否必须 描述
Id String 镜像标识符。

返回信息

成功

状态行:

  1. HTTP/1.1 204 No Content

无响应数据。

错误

状态码 错误码 错误信息 语义
400 InvalidRoleArn Specified parameter RoleArn is not valid. AliyunBatchComputeDefaultRole don’t have access to share image. AliyunBatchComputeDefaultRole角色没有共享镜像的权限
400 InvalidEcsImageId Specified parameter EcsImageId is not valid. The image is not available. Ecs镜像当前状态不正确
404 InvalidResource.NotFound Specified resource is not found. 用户请求的资源不存在
  • 本页导读 (0)
文档反馈