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: DisassociateAddressType
Children: None
Yes
Response Elements
Name | Description |
---|---|
|
Type: DisassociateAddressResponseType Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Returns "true" if the IP address is disassociated from the instance. Otherwise, "false". 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-07-15/"> <publicIp>67.202.55.255</publicIp> </DisassociateAddress>
Example Response
<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-07-15/"> <return>true</return> </DisassociateAddressResponse>