Queries the configuration of a specified workspace role.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryWorkspaceRoleConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RoleId |
integer |
Yes |
Workspace role ID. Predefined and custom roles:
|
25 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
D8749D65-E80A-433C-AF1B-CE9C180FF3B4 |
| Result |
object |
Query result. |
|
| AuthConfigList |
array<object> |
Role permission configurations. |
|
|
object |
Permission configuration. |
||
| ActionAuthKeys |
array |
Permission scope. |
|
|
string |
Permissions:
|
edit |
|
| AuthKey |
string |
Permission type:
|
portal_create |
| IsSystemRole |
boolean |
Whether the role is predefined.
|
true |
| RoleId |
integer |
Workspace role ID. Predefined and custom roles:
|
25 |
| RoleName |
string |
Role name. |
空间管理员 |
| Success |
boolean |
Whether the request succeeded.
|
true |
Examples
Success response
JSON format
{
"RequestId": "D8749D65-E80A-433C-AF1B-CE9C180FF3B4",
"Result": {
"AuthConfigList": [
{
"ActionAuthKeys": [
"edit"
],
"AuthKey": "portal_create"
}
],
"IsSystemRole": true,
"RoleId": 25,
"RoleName": "空间管理员"
},
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | User.Role.NotExist | User role not exist: %s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.