Mengambil daftar peran ruang kerja.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:ListWorkspaceRoles |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
ID ruang kerja. |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
array<object> |
List of workspace roles. |
|
|
array<object> |
|||
| AuthConfigList |
array<object> |
List of role authorization configurations. |
|
|
object |
Specific authorization configuration. |
||
| ActionAuthKeys |
array |
Authorization scope. |
|
|
string |
Specific permissions:
|
edit |
|
| AuthKey |
string |
Authorization type:
|
portal_create |
| IsSystemRole |
boolean |
Whether it is a predefined role. Value range:
|
true |
| RoleId |
integer |
Workspace role ID, including predefined and custom roles:
|
25 |
| RoleName |
string |
Role name. |
空间管理员 |
| Success |
boolean |
Indicates whether the request was successful. Possible values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": [
{
"AuthConfigList": [
{
"ActionAuthKeys": [
"edit"
],
"AuthKey": "portal_create"
}
],
"IsSystemRole": true,
"RoleId": 25,
"RoleName": "空间管理员"
}
],
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid.Workspace | The workspace is not owned by the organization. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.