All Products
Search
Document Center

Application Real-Time Monitoring Service:ChangeResourceGroup

Last Updated:Aug 28, 2026

Moves a resource to a specified resource group.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-hangzhou

ResourceId

string

Yes

The resource ID.

ggxw4lnjuz@cfd34a78f******

NewResourceGroupId

string

Yes

The ID of the destination resource group. You can view the available resource groups in the Resource Management console.

rg-aek2vezare****

ResourceType

string

No

The resource type.

APPLICATION

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

46355DD8-FC56-40C5-BFC6-269DE4F9****

Data

object

The returned data.

ResourceId

string

The resource ID.

ggxw4lnjuz@cfd34a78f******

ResourceGroupId

string

The ID of the resource group.

rg-aek2vezare****

Code

string

The status code or error code.

200

Message

string

The response message.

message

Examples

Success response

JSON format

{
  "RequestId": "46355DD8-FC56-40C5-BFC6-269DE4F9****",
  "Data": {
    "ResourceId": "ggxw4lnjuz@cfd34a78f******",
    "ResourceGroupId": "rg-aek2vezare****"
  },
  "Code": "200",
  "Message": "message"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.