删除自制镜像-TerminateCustomImage

删除用户自定义镜像

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域,参见 地域和可用区列表Yes
Zonestring可用区,参见 可用区列表No
ImageIdstring自制镜像ID 参见 DescribeImageYes
ProjectIdstring项目编号(子帐号用) 请参考GetProjectList接口No

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
ImageIdstring自制镜像IdNo

Request Example

http(s)://api.ucloud.cn/?Action=TerminateCustomImage
&Region=cn-bj2
&Zone=cn-bj2-04
&ImageId=6fa91ff8-663c-4a7c-b054-1824aa41a1a3

Response Example

{
    "Action": "TerminateCustomImageResponse",
    "RetCode": "0"
}