Memperbarui informasi anggota tertentu dalam suatu organisasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:UpdateUser |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
ID pengguna Quick BI yang akan diperbarui. Ini bukan UID Alibaba Cloud. |
fe67f61a35a94b7da1a34ba174a7**** |
| AdminUser |
boolean |
No |
Apakah akan menetapkan peran administrator organisasi kepada pengguna. Nilai yang valid:
Penting
Parameter ini sudah usang dan akan diabaikan jika RoleIds juga ditentukan. |
true |
| AuthAdminUser |
boolean |
No |
Apakah akan menetapkan peran administrator izin kepada pengguna. Nilai yang valid:
Penting
Parameter ini sudah usang dan akan diabaikan jika RoleIds juga ditentukan. |
true |
| UserType |
integer |
No |
Tipe pengguna anggota organisasi. Nilai yang valid:
|
1 |
| NickName |
string |
No |
Nama panggilan pengguna.
|
test |
| RoleIds |
string |
No |
ID peran organisasi bawaan atau kustom yang akan ditetapkan kepada pengguna. Tentukan hingga tiga ID peran yang dipisahkan koma.
|
111111111,456 |
| IsDeleted |
boolean |
No |
Status pengguna:
|
false |
| CopilotModules |
string |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
DC4E1E63-B337-44F8-8C22-6F00DF67E2C3 |
| Result |
boolean |
Menunjukkan apakah operasi berhasil. Nilai yang valid:
|
true |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
"Result": true,
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NickName.AlreadyIn.Organization | The alias already exists. | |
| 400 | Fobbiden.Action | The organization owner must have the administrator role. | |
| 400 | Organization.Developers.ReachedTheUpperLimit | The developers of the organization have reached the upper limit:%s | |
| 400 | Organization.Viewers.ReachedTheUpperLimit | The visitors of the organization have reached the upper limit:%s. | |
| 400 | Organization.Analysts.ReachedTheUpperLimit | The analysts of the organization have reached the upper limit:%s. | |
| 400 | Instance.Over.MaxLicense | You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first. | |
| 400 | Mail.Invalid | Email/phone number is invalid. | |
| 400 | OrganizationDeveloper.CanNotChangeTo.AnalystOrViewer | Organization user can not change developer to analyst or viewer. | |
| 400 | OrgAdminOrPermissionAdmin.CannotChangeTo.Viewer | Organization admin or permission admin can not change to viewer. | |
| 400 | ChangeTo.Viewer.Error | The organization user type cannot be changed because the user already belongs to a workspace. | |
| 400 | UserAnalyst.NotSupport.ThisRole | This role has permissions that analysts cannot grant. | |
| 400 | Viewer.CannotHave.CustomRole | Organization viewer cannot have custom roles. | |
| 400 | User.OrganizationRole.NotExist | User %s must have role in organization. | |
| 400 | RoleCount.ExceedsLimit.Error | The user role cannot exceed three. | |
| 400 | BindRole.NotExist.Error | Bind role not exist, %s. | |
| 400 | Robot.Module.Exhausted | The Quota of %s module has been exhausted. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.