DeleteLoadBalancersPrivateIps
1. API Description
This API is used to unbind private IPs from a load balancer.
2. Input Parameters
The following request parameter list only provides API request parameters.
privateIps
Yes
Array of String
The private IPs to be unbound.
loadBalancerId
Yes
String
Load balancer ID.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required to locate a problem.
4. Code Example
Unbind private IPs from a load balancer.
POST /api/v2/zec HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: DeleteLoadBalancersPrivateIps
<Common Request Params>
Request:
{
"privateIps": [
"10.0.0.0"
],
"loadBalancerId": "<your lb id>"
}
Response:
{
"requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
"response": {
"requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3"
}
}5. Developer Resources
Zenlayer Cloud API 2.0 SDKs to make it easier for you to call APIs. More programming languages will be supported.
6. Error Codes
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
404
INVALID_LB_NOT_FOUND
Load balancer does not exist.
400
OPERATION_DENIED_INSTANCE_STATUS_NOT_SUPPORT
Operation is not supported for current instance state.
Last updated