Updated on 2023-12-18 GMT+08:00

Removing a Backend Server

Function

This API is used to remove a backend server by its ID.

Constraints

After you remove a backend server, new connections to this server will not be established. However, long connections that have been established will be maintained.

URI

DELETE /v2.0/lbaas/pools/{pool_id}/members/{member_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

pool_id

Yes

String

Specifies the ID of the backend server group.

member_id

Yes

String

Specifies the backend server ID.

NOTE:
  • The value of this parameter is not the ID of server. It is the ID automatically generated for the backend server associated with the load balancer.
  • You can obtain this value by calling the API described in Querying Backend Servers.

Request

None

Response

None

Example Request

  • Example request: Removing a backend server
    DELETE https://{Endpoint}/v2.0/lbaas/pools/5a9a3e9e-d1aa-448e-af37-a70171f2a332/members/cf024846-7516-4e3a-b0fb-6590322c836f

Example Response

  • Example response

    None

Status Code

For details, see Status Codes.