You can call the RemoveBackendServers API to remove backend servers.

Note If the ECS instance to be removed does not exist in the specified backend server group, the action is ignored and no error will be returned.


Click here to debug in OpenAPI Explorer and automatically generate an SDK code example.

Request parameters

Name Type Required? Example value Description
Action String Yes RemoveBackendServers

The action to perform. Valid value: RemoveBackendServers

BackendServers String Yes ["vm-233","vm-234"]

The backend servers to be removed.

Note Up to 20 backend servers can be removed at a time.
LoadBalancerId String Yes lb-bp1qjwo61pqz3ahltv0mw

The ID of the SLB instance

RegionId String Yes cn-east-hangzhou-01

The ID of the region to which the SLB instance belongs

OwnerAccount String No OwnerAccount

The ID of the account

Response parameters

Name Type Example value Description
LoadBalancerId String 139a00604ad-cn-east-hangzhou-01

The ID of the SLB instance


A list of backend servers

  └Description String Backend servers

A description of the backend server group

  └ServerId String vm-232

The backend server name ID, which is the ECS instance ID.

  └Type String ecs

The backend server type. Valid values:

  • ecs: ECS instance (default)
  • eni: Elastic Network Interface (ENI)
  └Weight Integer 100

The weight of the backend server. Valid values: 0–100.

RequestId String 365F4154-92F6-4AE4-92F8-7FF34B540710

The ID of the request


Request example

/? Action=RemoveBackendServers

Normal response examples

XML format


JSON format


Error response example

JSON format

	"Message":"The specified parameter is not valid.",

Error codes

Click here to view the error codes.