lb.api.qcloud.comAction field of this API is DeregisterInstancesFromLoadBalancer.Parameter Name | Required | Type | Description |
loadBalancerId | Yes | String | |
backends.n.instanceId | Yes | String | Unique ID of CVM instance, which can be obtained through the `unInstanceId` (recommended) or `instanceId` field returned by the DescribeInstances API. You can enter the IDs of multiple CVM instances (for example, for two CVM instances, enter `backends.0.instanceId&backends.1.instanceId`). |
Parameter Name | Type | Description |
code | Int | Common error code. 0: success; other values: failure. For more information, please see Common Error Codes. |
message | String | Module error message related to the API. |
codeDesc | String | Error code. For a successful operation, "Success" will be returned. For a failed operation, a message describing the failure will be returned. |
requestId | Int | Request task ID. This API is an async task. You can call the DescribeLoadBalancersTaskResult API to query the task operation result based on this parameter. |
https://lb.api.qcloud.com/v2/index.php?Action=DeregisterInstancesFromLoadBalancer&loadBalancerId=lb-abcdefgh&backends.0.instanceId=ins-1234test&backends.1.instanceId=ins-6789test
{"code" : 0,"message" : "","codeDesc": "Success","requestId" : 1234}
Feedback