Deletes a dedicated cluster.

You can call this operation to delete a dedicated cluster only if all the instances and hosts in the dedicated cluster are deleted.


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 parameters

Parameter Type Required Example Description
Action String Yes DeleteDedicatedHostGroup

The operation that you want to perform. Set the value to DeleteDedicatedHostGroup.

DedicatedHostGroupId String Yes dhg-h5i4p331f509****

The ID of the dedicated cluster. You can view the ID of the dedicated cluster on the Dedicated Clusters page in the ApsaraDB MyBase console.

RegionId String Yes cn-hangzhou

The region ID of the dedicated cluster. For more information about region IDs, see Region IDs.

Response parameters

Parameter Type Example Description
RequestId String D6E068C3-25BC-455A-85FE-45F0B22E1765

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

HttpCode Error code Error message Description
400 Custins.Exist The cluster contains an instance and cannot be deleted. The error message returned because the specified dedicated cluster contains an instance and cannot be deleted.

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