All Products
Search
Document Center

DataWorks:ChangeResourceManagerResourceGroup

Last Updated:Jan 16, 2026

Changes the resource group of a resource.

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

ResourceType

string

Yes

The resource type. Valid values:

  • project: a workspace. Select this value to change the resource group for a DataWorks edition.

  • tenantresourcegroup: an exclusive resource group. Select this value to change the resource group for a DataWorks exclusive resource group.

project

ResourceId

string

Yes

The ID of the resource. The value of this parameter depends on the value of the ResourceType parameter:

  • If ResourceType is set to project, this parameter specifies the name of the workspace (ProjectIdentifier). You can call the ListProjects operation to obtain the workspace name.

  • If ResourceType is set to tenantresourcegroup, this parameter specifies the identifier of the exclusive resource group (Identifier). You can call the ListResourceGroups operation to obtain the identifier. This applies only to resource groups of type 7, 8, or 9.

test_project

ResourceManagerResourceGroupId

string

Yes

The ID of the destination resource group.

rg-bp67acfmxazb4p****

Response elements

Element

Type

Description

Example

object

The returned results.

Data

boolean

Indicates whether the resource group was changed.

true

RequestId

string

The request ID.

1AFAE64E-D1BE-432B-A9****

HttpStatusCode

integer

The HTTP status code.

200

Success

boolean

Indicates whether the request was successful.

true

Examples

Success response

JSON format

{
  "Data": true,
  "RequestId": "1AFAE64E-D1BE-432B-A9****",
  "HttpStatusCode": 200,
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.