DisassociateAddress
Description
Disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.
Request Parameters
Name | Description | Required |
---|---|---|
|
Type: |
Ancestor: None
Children: publicIp
publicIp
IP address that you are disassociating from the instance.
Type: xsd:string
Default: None
Ancestor: DisassociateAddress
Children: None
Yes
Response Elements
Name | Description |
---|---|
|
Type: DisassociateAddressResponse Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Returns Type: xsd:boolean Ancestor: Children: None |
Examples
Example Request
This example disassociates the 67.202.55.255
IP address from the instance to which it is assigned.
<DisassociateAddress xmlns="http://ec2.amazonaws.com/doc/2009-04-04/"> <publicIp>67.202.55.255</publicIp> </DisassociateAddress>
Example Response
<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/"> <return>true</return> </DisassociateAddressResponse>