Removes backend servers.
Operation description
If the backend servers that you want to remove are not in the server list of the Classic Load Balancer (CLB) instance, the request fails. However, the system does not report an error.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:RemoveBackendServers |
update |
*loadbalancer
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region where the CLB instance is deployed. |
cn-hangzhou |
| LoadBalancerId |
string |
Yes |
The ID of the CLB instance. |
lb-bp15lbk8uja8rvm4a**** |
| BackendServers |
string |
Yes |
The backend servers that you want to remove.
You can specify at most 20 backend servers in each call. Examples:
|
[{"ServerId":"i-bp1fq61enf4loa5i****", "Type": "ecs","Weight":"100"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| LoadBalancerId |
string |
The ID of the CLB instance. |
lb-bp15lbk8uja8rvm4a**** |
| RequestId |
string |
The request ID. |
365F4154-92F6-4AE4-92F8-7FF34****** |
| BackendServers |
object |
||
| BackendServer |
array<object> |
The backend servers. |
|
|
object |
|||
| Type |
string |
The type of backend server. Valid values:
|
ecs |
| Weight |
integer |
The weight of the backend server. Valid values: 0 to 100. |
100 |
| Description |
string |
The description of the server group. |
BackendServer1 |
| ServerId |
string |
The ID of the backend server. |
i-bp1fq61enf4loa5i**** |
Examples
Success response
JSON format
{
"LoadBalancerId": "lb-bp15lbk8uja8rvm4a****",
"RequestId": "365F4154-92F6-4AE4-92F8-7FF34******",
"BackendServers": {
"BackendServer": [
{
"Type": "ecs",
"Weight": 100,
"Description": "BackendServer1",
"ServerId": "i-bp1fq61enf4loa5i****"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SystemBusy | The system is busy. | System Busy |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.