All Products
Search
Document Center

DataWorks:ListResourceGroupAssociateProjects

Last Updated:Mar 30, 2026

Query the list of workspaces with which a resource group is associated

Operation description

  1. DataWorks Basic Edition or a more advanced edition is required to use this feature.

  2. Make sure that the service-linked role AliyunServiceRoleForDataWorks has been created before you call this operation.

  3. This operation returns only the workspaces that the current caller has access to. Unauthorized workspaces are not included in the response.

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

ResourceGroupId

string

Yes

The ID of the serverless resource group.

Serverless_res_group_524257424564736_6831777003****

Response elements

Element

Type

Description

Example

object

Schema of Response

Success

boolean

Indicates whether the request was successful.

true

ProjectIdList

array

The list of workspace IDs.

integer

The workspace ID.

123

RequestId

string

The request ID. You can use this ID to troubleshoot issues.

6A6CBE87-9F91-1323-B680-E7A7065XXXXX

Examples

Success response

JSON format

{
  "Success": true,
  "ProjectIdList": [
    123
  ],
  "RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX\n"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.