Moves a resource to a different 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.

ResourceType String Yes ACL

The type of the resource. Valid values:

  • loadbalancer: an Application Load Balancer (ALB) instance.
  • acl: an access control list (ACL).
  • securitypolicy: a security policy.
  • servergroup: a server group.
ResourceId String Yes acl-hp34s2h0xx1ht4nwo****

The ID of the cloud resource that you want to move.

NewResourceGroupId String Yes rg-9gLOoK****

The ID of the resource group to which the cloud resource is to be moved.

Note You can use resource groups to classify cloud resources that belong to your Apsara Stack tenant account to facilitate resource management and permission control. For more information, see What is resource management?.

Response parameters

Parameter Type Example Description
RequestId String 593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3"

Error codes

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