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 |
---|---|---|
| IP address that you are disassociating from the instance. 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: DisassociateAddressResponseType
Children: None
return
Returns true if the IP address is disassociated from the instance. Otherwise, returns an error.
Type: xsd:boolean
Ancestor: DisassociateAddressResponseType
Children: None
Examples
Example Request
This example disassociates the 67.202.55.255
IP address from the instance to which it is assigned.
https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams
Example Response
<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-10-31/"> <return>true</return> </DisassociateAddressResponse>