All Products
Search
Document Center

Quick BI:DeleteUser

Last Updated:Nov 04, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Delete the specified organization user.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
quickbi-public:DeleteUserdelete
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
UserIdstringYes

The ID of the user to be deleted. This user ID is the Quick BI UserID, not the Alibaba Cloud UID.

fe67f61a35a94b7da1a34ba174a7****
TransferUserIdstringNo

The ID of the successor. If not empty, the report resources in the workspace of the deleted user will be transferred to the successor; otherwise, they will be transferred to the space owner.

  • The successor cannot be an organization visitor
  • The permissions of the successor in the workspace must not be less than those of the deleted user, with management permissions > development permissions > sharing permissions > viewing permissions
  • If the successor is not in the workspace, they will be automatically added to the workspace
f5****afccd9e434a274

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

Request ID.

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

Returns the execution result of the interface. Possible values:

  • true: Execution succeeded
  • false: Execution failed
true
Successboolean

Indicates whether the request was successful. Possible values:

  • true: The request was successful - false: The request failed
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
  "Result": true,
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400CannotRemove.OrganizationOwnerYou cannot remove the organization owner from the organization.You cannot remove the organization owner from the organization.
400Member.ExistInWorkspace.ErrorYou cannot remove a user who is a member of a group workspace.You cannot remove a user who is a member of a group workspace.
400Workspace.Not.ExistThe group workspace does not exist.The group workspace does not exist.
400Workspace.Type.ErrorThe type of group workspace is invalid.The type of group workspace is invalid.
400Not.Organization.AuthAdminYou are not a role administrator of the organization and do not have the permission to perform the operation.You are not a role administrator of the organization and do not have the permission to perform the operation.
400Works.Transfer.ErrorYou are not authorized to transfer this item.You are not authorized to transfer this item.
400CanNot.Remove.WorkspaceOwnerYou cannot remove the group workspace owner from the group.You cannot remove the group workspace owner from the group.
400User.NotIn.WorkspaceThe user is not a member of the group workspace.The user is not a member of the group workspace.
400Transfer.TargetUser.NotExistThe new owner does not exist. Please ensure that the target user has logged on to the system.The new owner does not exist. Please ensure that the target user has logged on to the system.
400User.RoleType.ValidThe role ID is invalid.The role ID is invalid.
400Viewer.AddInTo.WorkspaceOrganization members with viewer type are not allowed to add to workspace: %s.Organization members with viewer type are not allowed to add to workspace: %s.
400UserAnalyst.NotSupport.ThisRoleThis role has permissions that analysts cannot grant.This role has permissions that analysts cannot grant.
400Transfer.Not.AllowedTransfer to users with lower space permissions is not allowed.Transfer to users with lower space permissions is not allowed.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-07The Error code has changedView Change Details