全部產品
Search
文件中心

Quick BI:DeleteUser - 刪除群組織使用者

更新時間:Dec 24, 2025

刪除指定組織使用者。

調試

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

調試

授權資訊

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

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

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

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

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

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

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

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

操作

存取層級

資源類型

條件關鍵字

關聯操作

quickbi-public:DeleteUser

delete

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

UserId

string

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

fe67f61a35a94b7da1a34ba174a7****

TransferUserId

string

繼承者的使用者識別碼。如果不為空白,則將刪除使用者在工作空間內的報表資源轉移給繼承者,否則轉移給空間 owner。

  • 繼承者不能是組織訪問者

  • 繼承者在工作空間的許可權不能小於刪除掉的使用者,系統管理權限>開發許可權>分享許可權>查看許可權

  • 繼承者不在工作空間內,會自動加入工作空間

f5****afccd9e434a274

返回參數

名稱

類型

描述

樣本值

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 CannotRemove.OrganizationOwner You cannot remove the organization owner from the organization. 不能將組織所有者踢出組織。
400 Member.ExistInWorkspace.Error You cannot remove a user who is a member of a group workspace. 該使用者仍在群空間中,無法移除。
400 Workspace.Not.Exist The group workspace does not exist. 群空間不存在。
400 Workspace.Type.Error The type of group workspace is invalid. 無效的群空間類型。
400 Not.Organization.AuthAdmin You are not a role administrator of the organization and do not have the permission to perform the operation. 您不是該組織的角色管理員,無權操作此項。
400 Works.Transfer.Error You are not authorized to transfer this item. 轉讓失敗,您沒有相應許可權。
400 CanNot.Remove.WorkspaceOwner You cannot remove the group workspace owner from the group. 不能將群空間擁有者剔除出群。
400 User.NotIn.Workspace The user is not a member of the group workspace. 該使用者不在群空間中。
400 Transfer.TargetUser.NotExist The new owner does not exist. Please ensure that the target user has logged on to the system. 轉讓目標使用者不存在,請確保目標使用者登入過當前系統。
400 User.RoleType.Valid The role ID is invalid. 無效的角色ID。
400 Viewer.AddInTo.Workspace Organization members with viewer type are not allowed to add to workspace: %s. 不允許將組織的訪客類型使用者添加到工作空間:%s。
400 UserAnalyst.NotSupport.ThisRole This role has permissions that analysts cannot grant. 該角色具有分析員無法授與權限。
400 Transfer.Not.Allowed Transfer to users with lower space permissions is not allowed. 不允許轉移給更低空間許可權的使用者。

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

變更歷史

更多資訊,參考變更詳情