ReleaseAddress

The ReleaseAddress operation releases an elastic IP address associated with your account.

If you run this operation on an elastic IP address that is already released, the address might be assigned to another account which will cause Amazon EC2 to return an error.

[Note]Note

Releasing an IP address automatically disassociates it from any instance with which it is associated. For more information, see DisassociateAddress.

[Important]Important

After releasing an elastic IP address, it is released to the IP address pool and might no longer be available to your account. Make sure to update your DNS records and any servers or devices that communicate with the address.

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

NameDescriptionRequired

publicIp

IP address that you are releasing from your account.

Type: xsd:string

Yes

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

NameDescription

return

true if the IP address is released. Otherwise, false.

Type: xsd:boolean

<ReleaseAddress xmlns="http://ec2.amazonaws.com/doc/2008-02-01">
    <publicIp>67.202.55.255</publicIp>
</ReleaseAddress>
<ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2008-02-01">
  <return>true</return>
</ReleaseAddressResponse>