Deregisters the specified AMI. Once deregistered, the AMI cannot be used to launch new instances.
This command does not delete the AMI from Amazon S3.
ImageId
Unique ID of the AMI which was assigned during registration. To register an AMI, use
Type: String
Default: None
Yes
DeregisterImageResponseType
DeregisterImageResponseType element.
Type:
Ancestor: None
Children: requestId, return
requestId
return
The ID of the request.
Type: xsd:string
Ancestor: DeregisterImageResponseType
Children: None
Returns
Type: xsd:boolean
This example deregisters the ami-4fa54026 AMI.
ami-4fa54026
https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams
<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> </DeregisterImageResponse>
RegisterImage
DescribeImages
Submit feedback about this site to: