DeregisterImage

The DeregisterImage operation deregisters an AMI. Once deregistered, instances of the AMI can no longer be launched.

The following table describes the request parameters for DeregisterImage. Parameter names are case sensitive.

NameDescriptionRequired

imageId

Unique ID of the AMI which was assigned during registration (see RegisterImage). For information on viewing the IDs of AMIs you own, see DescribeImages.

Type: xsd:string

Yes

The following table describes the default response tags included in DeregisterImage responses.

NameDescription

return

true if deregistration succeeded; otherwise false.

Type: xsd:boolean

<DeregisterImage xmlns="http://ec2.amazonaws.com/doc/2007-08-29">
    <imageId>ami-61a54008</imageId>
</DeregisterImage>
<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2007-08-29">
  <return>true</return>
</DeregisterImageResponse>