Replaces a resource group.

Debugging

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 MoveDomainResourceGroup

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

NewResourceGroupId String Yes rg-aekzzk7hx3glaoq

The ID of the resource group.

ResourceId String Yes example.com

The domain name.

Lang String No en

The language of some returned parameters. Default value: en. Valid values: en, zh, and ja.

Response parameters

Parameter Type Example Description
RequestId String C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB

The ID of the request.

Examples

Sample requests

http(s)://alidns.aliyuncs.com/? Action=MoveDomainResourceGroup
&NewResourceGroupId=rg-aekzzk7hx3glaoq
&ResourceId=example.com
&<Common request parameters>

Sample success responses

XML format

<RequestId>C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB</RequestId>

JSON format

{
    "RequestId":"C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB"
    }

Error codes

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