You can call this operation to move an AnalyticDB for MySQL instance to a specified resource group.

Resource Management enables you to build an organizational structure for resources based on your business needs. You can use a resource directory, folders, accounts, and resource groups to hierarchically organize and manage resources. For more information, see What is Resource Management?


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 ModifyDBClusterResourceGroup

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

DBClusterId String Yes am-bpxxxxx

The ID of the cluster.

NewResourceGroupId String Yes rg-acxxxxx

The ID of the resource group. For more information, see View basic information of a resource group.

Response parameters

Parameter Type Example Description
RequestId String 65BDA532-28AF-4122-AA39-B382721EEE64

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=ModifyDBClusterResourceGroup
&<Common request parameters>

Sample responses

XML format


JSON format

    "RequestId": "65BDA532-28AF-4122-AA39-B382721EEE64"

Error codes

HttpCode Error code Error message Description
404 InvalidDBCluster.NotFound The DBClusterId provided does not exist in our records. The error message returned because the specified DBClusterId parameter does not exist. Check whether you specify the DBClusterId parameter correctly.

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