DeleteUser接口用于删除指定组织用户。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteUser |
要执行的操作。取值:DeleteUser。 |
UserId | String | 是 | fe67f61a35a94b7da1a34ba174a7**** |
待删除的用户ID。此处的用户ID为Quick BI的UserID,而非阿里云的UID。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | DC4E1E63-B337-44F8-8C22-6F00DF67E2C3 |
请求ID。 |
Result | Boolean | true |
返回接口执行结果。取值范围:
|
Success | Boolean | true |
是否请求成功。取值范围:
|
示例
请求示例
http(s)://quickbi-public.aliyun.com/?Action=DeleteUser
&UserId=fe67f61a35a94b7da1a34ba174a7****
&<公共请求参数>
正常返回示例
XML
格式
<RequestId>DC4E1E63-B337-44F8-8C22-6F00DF67E2C3</RequestId>
<Success>true</Success>
<Result>true</Result>
JSON
格式
{"RequestId":"DC4E1E63-B337-44F8-8C22-6F00DF67E2C3","Success":"true","Result":"true"}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
500 | Invalid.User.Admin | You are not an administrator of this organization. | 没有权限,您不是组织管理员。 |
500 | CannotRemove.OrganizationOwner | You cannot remove the organization owner from the organization. | 不能将组织所有者踢出组织。 |
500 | Member.ExistInWorkspace.Error | You cannot remove a user who is a member of a group workspace. | 该用户仍在群空间中,无法移除。 |
500 | Invalid.User.Organization | The user is not in your organization. | 该用户不在您的组织中。 |
500 | System.Param.Empty | You must specify the %s parameter. | 参数%s不能为空。 |
500 | Instance.Expired | Your instance has expired. | 您的购买实例已经过期。 |
500 | Instance.Not.Exist | The specified instance does not exist. | 暂未匹配到您的购买实例。 |
500 | Access.Forbidden | Access forbidden. Your instance version or access key is not allowed to call the API operation. | 访问被禁止,您的实例版本或者 AccessKey不允许调用该 API。 |
500 | Invalid.Organization | The specified organizational unit does not exist. | 该组织不存在。 |
500 | User.Not.In.Organization | The specified user is not in the organizational unit. | 该用户不在组织中。 |
500 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 |
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交