Removes host groups from a cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ReleaseClusterHostGroup |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to ReleaseClusterHostGroup. |
ClusterId | String | Yes | C-D7958B72E59B**** |
The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster. |
HostGroupId | String | Yes | G-EF460256A55F**** |
The ID of the host group. You can call ListClusterHostGroup View the machine group ID. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions. |
InstanceIdList | String | No | ["i-bp1bm7y86rscdx1a****"] |
The ID of instance N. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 991B3409-6C8D-48CB-903C-3B9C166E17A8 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ReleaseClusterHostGroup
&ClusterId=C-D7958B72E59B****
&HostGroupId=G-EF460256A55F****
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<RequestId>991B3409-6C8D-48CB-903C-3B9C166E17A8</RequestId>
JSON
Syntax
{
"RequestId":"991B3409-6C8D-48CB-903C-3B9C166E17A8"
}