更新群組織下指定成員的資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
quickbi-public:UpdateUser |
update |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| UserId |
string |
是 |
待更新的使用者識別碼。此處的使用者識別碼 為 Quick BI 的 UserID,而非阿里雲的 UID。 |
fe67f61a35a94b7da1a34ba174a7**** |
| AdminUser |
boolean |
否 |
是否賦予組織管理員角色。取值範圍:
重要 參數已到期不推薦使用,當傳入 RoleIds 時該參數無效。 |
true |
| AuthAdminUser |
boolean |
否 |
是否賦予組織許可權管理員角色。取值範圍:
重要 參數已到期不推薦使用,當傳入 RoleIds 時該參數無效。 |
true |
| UserType |
integer |
否 |
組織成員的使用者類型。取值範圍:
|
1 |
| NickName |
string |
否 |
暱稱。
|
小張 |
| RoleIds |
string |
否 |
使用者綁定的預置或自訂群組織角色 ID,用英文逗號“,”分割,最多 3 個。取值範圍:
|
111111111,456 |
| IsDeleted |
boolean |
否 |
使用者狀態:
|
false |
| CopilotModules |
string |
否 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
DC4E1E63-B337-44F8-8C22-6F00DF67E2C3 |
| Result |
boolean |
返回介面執行結果。取值範圍:
|
true |
| Success |
boolean |
是否請求成功。取值範圍:
|
true |
樣本
正常返回樣本
JSON格式
{
"RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
"Result": true,
"Success": true
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 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 | 組織開發人員已達到上限 %s 人,請升級聯絡組織管理員升級開發人員數量。 |
| 400 | Organization.Viewers.ReachedTheUpperLimit | The visitors of the organization have reached the upper limit:%s. | 組織訪問者已達到上限%s人,請升級聯絡組織管理員升級訪問者數量。 |
| 400 | Organization.Analysts.ReachedTheUpperLimit | The analysts of the organization have reached the upper limit:%s. | 組織分析師已達到上限%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. | 使用者 %s 在組織中必須有一個角色。 |
| 400 | RoleCount.ExceedsLimit.Error | The user role cannot exceed three. | 使用者角色不能超過三個。 |
| 400 | BindRole.NotExist.Error | Bind role not exist, %s. | 綁定的角色不存在,%s。 |
| 400 | Robot.Module.Exhausted | The Quota of %s module has been exhausted. | %s模組的配額已耗盡。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。