Unbind EIP
Last Updated:2020-07-20
Description
The EIP is unbound from the NAT gateway.
Request Structure
PUT /v{version}/nat/{natId}?{action}&clientToken={clientToken} HTTP/1.1
Host: bcc.bj.baidubce.com
Authorization: authorization string
{ "eips":[eips] }
Request Parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
version | String | Yes | URL parameter | API version number (the current value is 1) |
natId | String | Yes | URL parameter | The EIP is unbound from the NAT gateway ID. |
action | String | Yes | Query parameter | For the actions executed by the NAT gateway, the value taken in the interface is unbind. |
clientToken | String | No | Query parameter | Idempotence Token is an ASCII string with length not exceeding 64 bytes, for details, please see ClientToken Idempotence |
eips | List |
Yes | RequestBody parameter | List of unbound EIP IDs |
Return Header
There are no other special headers except the public headers.
Return Parameter
There is no special return parameter.
Request Example
PUT /v1/nat/nat-b7ze574srr4g?unbind&clientToken=ac31ef8c-5e41-4k38-9ds0-9de700ds5b20 HTTP/1.1
host: bcc.bj.baidubce.com
content-type: application/json
authorization: bce-auth-v1/2830b179831d11e8be57233b1de1e808/2018-07-09T02:18:42Z/3600/host;x-bce-account;x-bce-client-ip;x -bce-date;x-bce-request-id;x-bce-security-token/0d237d5281bdb003840eae23f6ffcd32c5dbe597d6abc5d4a91a11ddacb72701
{
"eips" : [ "180.76.186.174" ]
}
Return Example
HTTP/1.1 200 OK
x-bce-request-id: f76a08db-59dc-4d6e-841d-b36989d75d15
Date: Mon, 09 Jul 2018 02:18:41 GMT
Content-Type: application/json;charset=UTF-8
Server: BWS