DeregisterImage
In this article:
DeregisterImage#
Description#
Request to delete an image.
Request Parameters#
Required parameters#
imageId — The image ID.
Required: Yes
Type: String
Optional parameters#
DeleteSnapshots — Specifies whether to delete snapshots associated with the image.
Required: No
Type: Boolean
Default value:
False
Response Elements#
requestId — The request ID.
Type: String
return —
True
is returned if the request succeeds and an error otherwise.Type: Boolean
Examples#
c2-ec2 DeregisterImage ImageId cmi-3CE869E3
c2-ec2 DeregisterImage ImageId cmi-3CE869E3 DeleteSnapshots True