Queries the configuration of a specified organization role.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryOrganizationRoleConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RoleId |
integer |
Yes |
Organization role ID, including predefined roles and custom roles:
|
111111111 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
BCE45E6D-9304-4F94-86BB-5A772B1615FF |
| Result |
object |
Details of the organization role configuration. |
|
| AuthConfigList |
array<object> |
List of role permission configurations. |
|
|
object |
Specific permission configurations. |
||
| AuthKey |
string |
Permission type:
|
quick_monitor |
| IsSystemRole |
boolean |
Indicates whether the role is predefined. Valid values:
|
true |
| RoleId |
integer |
Organization role ID, including predefined roles and custom roles:
|
111111111 |
| RoleName |
string |
Role name. |
组织管理员 |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "BCE45E6D-9304-4F94-86BB-5A772B1615FF",
"Result": {
"AuthConfigList": [
{
"AuthKey": "quick_monitor"
}
],
"IsSystemRole": true,
"RoleId": 111111111,
"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.