删除指定工作空间的成员。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
quickbi-public:DeleteUserFromWorkspace |
delete |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| WorkspaceId |
string |
是 |
工作空间 ID。 |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
| UserId |
string |
是 |
待删除的用户 ID。此处的用户 ID 为 Quick BI 的 UserID,而非阿里云的 UID。 |
de4bc5f9429141cc8091cdd1c15b**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
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 | Workspace.NotIn.Organization | The workspace is not owned by the organization. | |
| 400 | Workspace.Not.Exist | The group workspace does not exist. | |
| 400 | Workspace.Type.Error | The type of group workspace is invalid. | |
| 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 | Cannot.TransferTo.Owner | You cannot transfer an item to its current owner. | |
| 400 | Works.Transfer.Error | You are not authorized to transfer this item. | |
| 400 | Transfer.TargetUser.NotExist | The new owner does not exist. Please ensure that the target user has logged on to the system. | |
| 400 | PersonalWorkspace.NotSupport.AllTransfer | Personal workspaces cannot be transferred. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。