You can call this operation to delete an Elastic Compute Service (ECS) instance from a cluster.
Debugging
Request headers
This operation only uses common request headers. For more information, see the Common request parameters topic.
Request syntax
DELETE /pop/v5/resource/cluster_member HTTPS|HTTP
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
ClusterId | String | Yes | 52984524-****-****-85f2-a34b0e5bb521 |
The ID of the cluster from which you want to delete an ECS instance. |
ClusterMemberId | String | Yes | i-2zej4i2jdf3****jigng |
The member ID of the ECS instance that you want to delete from the cluster. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The returned code. |
Message | String | success |
The returned message. |
Data | Boolean | true |
The data returned, which indicates whether the operation is successful. |
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 headers
{
"ClusterId": "52984524-****-4bbd-****-a34b0e5bb521"
"ClusterMemberId": "i-2zej4i****3ntwhjigng"
}
Sample success responses
JSON
format
{
"Data": "ok",
"Code": "200",
"Message": "success"
}
XML
format
<Data>ok</Data>
<Code>200</Code>
<Message>success</Message>
Error codes
For a list of error codes, visit the API Error Center.