Removes an Elastic Compute Service (ECS) instance from a cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request header. For more information, see the topic about common request parameters.

Request syntax

DELETE /pop/v5/resource/cluster_member HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
ClusterId String Query Yes 52984524-****-****-85f2-a34b0e5bb521

The ID of the cluster in Enterprise Distributed Application Service (EDAS).

ClusterMemberId String Query Yes i-2zej4i2jdf3****jigng

The member ID of the ECS instance that you want to remove from the cluster.

Response parameters

Parameter Type Example Description
Code Integer 200

The returned HTTP status code.

Data Boolean true

Indicates whether the operation was successful.

Message String success

The returned message.

RequestId String b197-40ab-9155-7ca7

The ID of the request.

Examples

Sample requests

DELETE /pop/v5/resource/cluster_member HTTP/1.1
Common request header
{
  "ClusterId": "52984524-****-4bbd-****-a34b0e5bb521"
  "ClusterMemberId": "i-2zej4i****3ntwhjigng"
}

Sample success responses

XML format

<Data>ok</Data>
<Code>200</Code>
<Message>success</Message>

JSON format

{
	"Data": "ok",
	"Code": "200",
	"Message": "success"
}

Error codes

For a list of error codes, visit the API Error Center.