Deletes a dedicated host group. Before you call the API operation, you must migrate the dedicated hosts in the host group to another host group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DeleteDedicatedHostCluster |
delete |
*DedicatedHostCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the host group. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| DedicatedHostClusterId |
string |
Yes |
The ID of the host group. |
dc-bp12wlf6am0vz9v2**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
11B55F58-D3A4-4A9B-9596-342420D02FF8 |
Examples
Success response
JSON format
{
"RequestId": "11B55F58-D3A4-4A9B-9596-342420D02FF8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DedicatedHostExists | Dedicated Host exists in the dedicated host cluster. | |
| 400 | IncompleteParamter | Parameter DedicatedHostClusterId can not be null in this request. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.