ReleaseAddress
Description
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 | |
---|---|
Releasing an IP address automatically disassociates it from any instance with which it is associated. To disassociate an IP address without releasing it, use the |
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. |
Request Parameters
Name | Description | Required |
---|---|---|
| The IP address that you are releasing from your account. Type: String Default: None | Yes |
Response Elements
Name | Description |
---|---|
|
Type: |
Ancestor: None
Children: requestId
, return
requestId
The ID of the request.
Type: xsd:string
Ancestor: ReleaseAddressResponseType
Children: None
return
Returns
Type: xsd:boolean
Ancestor: ReleaseAddressResponseType
Children: None
Examples
Example Request
This example releases an elastic IP address associated with the account.
https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams
Example Response
<ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> </ReleaseAddressResponse>