Updated on 2024-04-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/{project_id}/elb/pools/{pool_id}/members/{member_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

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 the server. It is an ID automatically generated for the backend server that is 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/145483a5107745e9b3d80f956713e6a3/elb/pools/5a9a3e9e-d1aa-448e-af37-a70171f2a332/members/cf024846-7516-4e3a-b0fb-6590322c836f

Example Response

  • Example response

    None

Status Code

For details, see Status Codes.