Files
doc-exports/docs/vpc/api-ref/vpc_eip_0005.html
fanqinying 7655950d89 VPC API 20251113 version
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: fanqinying <fanqinying@huawei.com>
Co-committed-by: fanqinying <fanqinying@huawei.com>
2026-04-10 09:21:14 +00:00

6.5 KiB

Releasing an EIP

Function

This API is used to release an EIP.

Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:
  • In eu-de, EIPs of the Dedicated Load Balancer (5_gray) type cannot be assigned anymore. You can assign EIPs of the BGP (5_bgp) type.
  • Existing EIPs of the Dedicated Load Balancer (5_gray) type can be bound to dedicated or shared load balancers.
    • The EIP console cannot be used to bind EIPs to or unbind them from dedicated load balancers.
    • You can use APIs to bind EIPs to or unbind them from dedicated load balancers. For details, see Binding an EIP and Unbinding an EIP.
    • EIPs of this type can be bound to or unbound from shared load balancers using the EIP console or APIs.
    • You are advised to bind or unbind BGP EIPs to or from dedicated load balancers.
  • Do not add EIPs of the dedicated load balancer type (5_gray) and other types to the same shared bandwidth. Otherwise, the bandwidth limit policy will not take effect.

URI

DELETE /v1/{project_id}/publicips/{publicip_id}

Table 1 describes the parameters.
Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

publicip_id

Yes

Specifies the unique identifier of an EIP.

Request Parameters

  • Request parameter

    None

  • Example request
    DELETE https://{Endpoint}/v1/{project_id}/publicips/{publicip_id}

Response Parameters

  • Response parameter

    None

  • Example response

    None

    Or

    {
           "code":"xxx",
           "message":"xxxxx"
    }

Status Code

See Status Codes.

Error Code

See Error Codes.