ReleaseAddress#

Description#

Releases the specified Elastic IP address. A released Elastic IP address is automatically disassociated. To disassociate an Elastic IP address or a private IP without releasing it, use DisassociateAddress.

Request Parameters#

  • AllocationId — The ID of the allocated IP address.

    • 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 ReleaseAddress PublicIp 1.2.3.4
c2-ec2 ReleaseAddress AllocationId eipalloc-ABCD1234