Disable EIP Direct-connection
Last Updated:2022-01-14
- Disable EIP direct connect.
- EIP must be provided with a direct connection.
Request Structure
PUT /v{version}/eip/{eip}?{action}&clientToken={clientToken} HTTP/1.1
Host: eip.bj.baidubce.com
Authorization: authorization string
Request Header Field
No other special header fields are available except for the public header field.
Request Parameters
Parameter Name | Type | Required? | Parameter Position | Description |
---|---|---|---|---|
version | String | Yes | URL parameters | The API version number, whose current value is 1. |
eip | String | Yes | URI parameter | EIP whose direct connection should be off and which adopts dotted decimal notation. |
action | String | Yes | Query parameter | Action performed on the EIP instance, whose value is unDirect in this interface. |
clientToken | String | Yes | Query parameter | The idempotent Token. For details, see Idempotence. |
Return Status Code
Return 200 when succeeding. For the failure return, see Error Code.
Return Header Field
No other special header fields are available except for the public header field.
Return Parameters
No specific parameters are returned.
Request Example
PUT /v1/eip/180.76.122.3?unDirect&clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
HOST eip.bj.baidubce.com
Authorization bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2016-04-10T08:26:52Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02
Response Example
HTTP/1.1 200 OK
x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
Date: Wed, 10 Apr 2016 08:26:52 GMT
Transfer-Encoding: chunked
Content-Type: application/json;charset=UTF-8
Server: BWS