Updated on 2024-04-19 GMT+08:00

Removing a Backend Server

Function

This API is used to remove a backend server.

Constraints

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

Calling Method

For details, see Calling APIs.

URI

DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}

Table 1 Path Parameters

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 but an ID automatically generated for the backend server that has already associated with the load balancer.

You can call the API for querying backend servers to obtain the backend server ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the token used for IAM authentication.

Response Parameters

None

Example Requests

Deleting a given backend server

DELETE https://{ELB_Endpoint}/v3/99a3fff0d03c428eac3678da6a7d0f24/elb/pools/36ce7086-a496-4666-9064-5ba0e6840c75/members/1923923e-fe8a-484f-bdbc-e11559b1f48f

Example Responses

None

Status Codes

Status Code

Description

204

Successful request.

Error Codes

See Error Codes.