刪除指定組織使用者。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
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 |
| Success |
boolean |
是否請求成功。取值範圍:
|
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. | 不允許轉移給更低空間許可權的使用者。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。