Adds resources to a new resource group.


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 MoveResourceGroup

The operation that you want to perform.

Set the value to MoveResourceGroup.

RegionId String Yes cn-hangzhou

The region in which a WAF instance resides.

Valid values:

  • cn-hangzhou: mainland China
  • ap-southeast-1: outside mainland China
ResourceGroupId String Yes rg-atstuj3rtop****

The ID of the resource group to which the WAF instance belongs in Resource Management.

ResourceId String Yes waf-****

The ID of the WAF resource.

ResourceType String Yes domain

The type of the WAF resource.

Set the value to domain, which indicates that the resource type of WAF can only be the domain name.

Response parameters

Parameter Type Example Description
RequestId String C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E

The ID of the request, which is used to locate and troubleshoot issues.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E"

Error codes

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