Bir kuruluştaki belirtilen bir üyenin bilgilerini günceller.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:UpdateUser |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
Güncellenecek kullanıcının kimliği. Bu kullanıcı kimliği, Alibaba Cloud UID'si değil, Quick BI UserID'sidir. |
fe67f61a35a94b7da1a34ba174a7**** |
| AdminUser |
boolean |
No |
Kuruluş yöneticisi rolünün atanıp atanmayacağını belirtir. Geçerli değerler:
Önemli Bu parametre kullanımdan kaldırılmıştır. RoleIds belirtildiğinde bu parametre etkili olmaz. |
true |
| AuthAdminUser |
boolean |
No |
Kuruluş izin yönetimi yöneticisi rolünün atanıp atanmayacağını belirtir. Geçerli değerler:
Önemli Bu parametrenin süresi dolmuştur ve kullanılması önerilmez. RoleIds belirtildiğinde bu parametre etkili olmaz. |
true |
| UserType |
integer |
No |
Kuruluş üyesinin kullanıcı türü. Geçerli değerler:
Valid values:
|
1 |
| NickName |
string |
No |
Takma ad.
|
test |
| RoleIds |
string |
No |
Kullanıcıya eklenecek önceden tanımlanmış veya özel kuruluş rollerinin virgülle (,) ayrılmış kimlikleri. En fazla üç rol kimliği desteklenir. Geçerli değerler:
|
111111111,456 |
| IsDeleted |
boolean |
No |
Kullanıcı durumu. Geçerli değerler:
|
false |
| CopilotModules |
string |
No |
Akıllı modül kotası değişiklik bilgileri. Parametreyi bir JSON dizisi olarak iletin. Her dizi öğesi aşağıdaki alanları içerir: moduleType -- Akıllı modül.
status -- Modülün etkinleştirilip etkinleştirilmeyeceğini belirtir.
|
[ { "moduleType": "smartQAskNum", "status": 1 }, { "moduleType": "smartQDevNum", "status": 0 } ] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
DC4E1E63-B337-44F8-8C22-6F00DF67E2C3 |
| Result |
boolean |
İşlemin yürütme sonucu. Geçerli değerler:
|
true |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:
|
true |
Examples
Success response
JSON format
{
"RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
"Result": true,
"Success": true
}
Error codes
|
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.