ListProjectRoles
Retrieve detailed role lists for a DataWorks workspace by specifying IDs, names, or codes. Manage roles efficiently with pagination support for user-defined and system roles.
Instructions
获取工作空间角色详情列表
Input Schema
Name | Required | Description | Default |
---|---|---|---|
Codes | No | 工作空间角色Code列表 | |
Names | No | 工作空间的角色Name列表 | |
PageNumber | No | 请求的数据页数,用于翻页 | |
PageSize | No | 每页显示的条数,默认为10条,最大100条 | |
ProjectId | No | DataWorks工作空间的ID | |
Type | No | 工作空间的角色类型。- UserCustom:用户自定义角色- System:系统角色 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"Codes": {
"description": "工作空间角色Code列表",
"items": {
"type": "string"
},
"type": "array"
},
"Names": {
"description": "工作空间的角色Name列表",
"items": {
"type": "string"
},
"type": "array"
},
"PageNumber": {
"description": "请求的数据页数,用于翻页"
},
"PageSize": {
"description": "每页显示的条数,默认为10条,最大100条"
},
"ProjectId": {
"description": "DataWorks工作空间的ID"
},
"Type": {
"description": "工作空间的角色类型。- UserCustom:用户自定义角色- System:系统角色",
"type": "string"
}
},
"type": "object"
}