DisassociateAddress#

Description#

Disassociates an Elastic IP address from the instance or network interface it’s associated with.

Request Parameters#

  • AssociationId — The association ID.

    • Type: String

    • Required: Yes, if PublicIp is not supplied

  • PublicIp — The Elastic IP address.

    • Type: String

    • Required: Yes, if AllocationId is not supplied

Response Elements#

  • requestId — The request ID

    • Type: String

  • returnTrue is returned if the request succeeds, and an error otherwise

    • Type: Boolean

Examples#

c2-ec2 DisassociateAddress PublicIp 1.2.3.4

c2-ec2 DisassociateAddress AssociationId eipassoc-00000000