Mengambil semua peran ruang kerja milik seorang pengguna.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
ID pengguna Quick BI. Ini bukan ID akun Alibaba Cloud Anda. Anda dapat memanggil operasi QueryUserInfoByAccount untuk memperoleh ID pengguna. |
afas-********asfasg |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
DC4E***************F67E2C3 |
| Result |
array<object> |
Daftar semua informasi peran ruang kerja. |
|
|
array<object> |
Setiap objek ruang kerja. |
||
| WorkspaceId |
string |
ID ruang kerja. |
9337d121-a78f-4c1b-a8bc-f81de117**** |
| WorkspaceName |
string |
Nama ruang kerja. |
test |
| RoleModel |
object |
Informasi peran ruang kerja. |
|
| RoleId |
string |
The workspace role ID. This includes, but is not limited to, the following preset workspace roles:
|
111111111 |
| RoleCode |
string |
The code that corresponds to the preset workspace role. This parameter is not returned for custom roles. |
34637***35 |
| RoleName |
string |
The name of the workspace role. |
arms-admin |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "DC4E***************F67E2C3",
"Result": [
{
"WorkspaceId": "9337d121-a78f-4c1b-a8bc-f81de117****",
"WorkspaceName": "test",
"RoleModel": {
"RoleId": "111111111",
"RoleCode": "34637***35",
"RoleName": "arms-admin"
}
}
],
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | An internal system error occurred. |
| 400 | User.Not.In.Organization | The specified user is not in the organizational unit. | The specified user is not in the organizational unit. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.