Deregisters the specified image.

Request Parameters#

Required parameters#

  • imageId — The image ID.

    • Required: Yes

    • Type: String

Optional parameters#

  • DeleteSnapshots — Deletes the snapshots associated with the image.

    • Required: No

    • Type: Boolean

Response Elements#

  • requestId — The request ID

    • Type: String

  • returnTrue is returned if the request succeeds and an error otherwise.

    • Type: Boolean


c2-ec2 DeregisterImage ImageId <image_id>

c2-ec2 DeregisterImage ImageId <image_id> DeleteSnapshots True