| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Deregisters the specified AMI. Once deregistered, the AMI cannot be used to launch new instances.
Note
This command does not delete the AMI.
ImageIdThe ID of the AMI to deregister.
Type: String
Default: None
Required: Yes
The following elements are returned in a DeregisterImageResponse
element.
requestIdThe ID of the request.
Type: xsd:string
returnReturns true if the request succeeds. Otherwise,
returns an error.
Type: xsd:boolean
This example deregisters the ami-4fa54026 AMI.
https://ec2.amazonaws.com/?Action=DeregisterImage &ImageId=ami-4fa54026 &AUTHPARAMS
<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DeregisterImageResponse>