• Elastic Load Balancing

elb
  1. Help Center
  2. Elastic Load Balancing
  3. API Reference
  4. Classic Load Balancer APIs
  5. Backend ECS
  6. Removing Backend ECSs

Removing Backend ECSs

Function

This API is used to remove backend ECSs from a listener. Multiple backend ECSs can be removed concurrently.

URI

POST /v1.0/{project_id}/elbaas/listeners/{listener_id}/members/action
Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID of the operator.

listener_id

Yes

String

Specifies the listener ID.

removeMember

Yes

List data structure

Lists the removed backend ECSs.

Table 2 removeMember field description

Parameter

Mandatory

Type

Description

id

Yes

String

Specifies the backend ECS ID.

Request

  • Request parameters

    None

  • Example request
    {
        "removeMember": [
            {
                "id": "34695d664b182fa69b98228032b0e239"
            }
        ]
    }

Response

  • Response parameters
    Table 3 Parameter description

    Parameter

    Type

    Description

    uri

    String

    Specifies the URI of the task for removing a backend ECS. It is returned by Combined API.

    job_id

    String

    Specifies the unique ID assigned to the task for removing a backend ECS in Combined API.

  • Example response
    {
        "uri": "/v1/55300f3c8f764c06b1a32e2302edc305/jobs/4010b39b4fd3d5ff014fd3f160fd006c",
        "job_id": "4010b39b4fd3d5ff014fd3f160fd006c"
    }

Returned Values

  • Normal

    200

  • Abnormal

    Returned Value

    Description

    400 badRequest

    Request error

    401 unauthorized

    Authentication failed.

    403 userDisabled

    You do not have the rights to perform the operation.

    404 Not Found

    The requested page does not exist.

    500 authFault

    Internal service error.

    503 serviceUnavailable

    The service is unavailable.