全部產品
Search
文件中心

Quick BI:UpdateUser - 更新群組織成員資訊

更新時間:Apr 20, 2026

更新群組織下指定成員的資訊。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

quickbi-public:UpdateUser

update

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

UserId

string

待更新的使用者識別碼。此處的使用者識別碼 為 Quick BI 的 UserID,而非阿里雲的 UID。

fe67f61a35a94b7da1a34ba174a7****

AdminUser

boolean

是否賦予組織管理員角色。取值範圍:

  • true:是

  • false:否

重要 參數已到期不推薦使用,當傳入 RoleIds 時該參數無效。

true

AuthAdminUser

boolean

是否賦予組織許可權管理員角色。取值範圍:

  • true:是

  • false:否

重要 參數已到期不推薦使用,當傳入 RoleIds 時該參數無效。

true

UserType

integer

組織成員的使用者類型。取值範圍:

  • 1 :開發人員

  • 2 :訪問者

  • 3 :分析師

1

NickName

string

暱稱。

  • 格式檢查:最大長度 50 個字元。

  • 特殊格式校正:中英文數字 _ \ / | () ] [

小張

RoleIds

string

使用者綁定的預置或自訂群組織角色 ID,用英文逗號“,”分割,最多 3 個。取值範圍:

  • 組織管理員(預置角色):111111111

  • 許可權管理員(預置角色):111111112

  • 普通使用者(預置角色):111111113

111111111,456

IsDeleted

boolean

使用者狀態:

  • false:啟用

  • true:失效

false

CopilotModules

string

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

請求 ID。

DC4E1E63-B337-44F8-8C22-6F00DF67E2C3

Result

boolean

返回介面執行結果。取值範圍:

  • true:執行成功

  • false:執行失敗

true

Success

boolean

是否請求成功。取值範圍:

  • true:請求成功

  • false:請求失敗

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模組的配額已耗盡。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情