DeleteAuthorizationByUserId - 删除指定用户的协同授权记录
更新时间:
复制 MD 格式
删除指定用户的协同授权记录。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ResourceType |
string |
是 |
作品类型。
|
report |
| ResourceId |
string |
是 |
作品 ID |
al*************7ufv |
| QbiUserId |
string |
是 |
Quick BI 用户 ID |
cc4b***94fa4 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID |
46e53***********70 |
| Result |
boolean |
是否删除成功。 |
true |
| Success |
boolean |
请求是否成功。 |
true |
示例
正常返回示例
JSON格式
{
"RequestId": "46e53***********70",
"Result": true,
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 |
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | 无效参数%s。 |
| 400 | Invalid.User.Organization | The user is not in your organization. | 该用户不在您的组织中。 |
| 400 | Cube.Not.Exist | The Cube does not exist. | 数据集不存在。 |
| 400 | Datasource.NotFound.Error | The specified data source does not exist: %s. | 数据源不存在:%s。 |
| 400 | Report.NotExist.Error | This work does not exist. It may have been deleted. Work ID is %s. | 作品不存在,可能已经被删除。作品ID:%s。 |
| 400 | DeletePermission.ExistWorkspaceRecord.Error | cannot be deleted because there is already an workspace authorization record. | 无法删除,因为该作品存在授权给全部空间成员的记录。 |
| 400 | DeletePermission.UserBelongsToUsergroup.Error | cannot be deleted because user belongs to usergroup: %s. | 无法删除,因为当前用户属于用户组:%s。 |
| 400 | DeletePermission.WorkspaceAllDeveloper.Error | cannot be deleted because editing permission attribute has already been configured: all workspace developers. | 无法删除,因为已配置编辑权限属性:所有空间开发者。 |
| 400 | DeletePermission.WorkspaceAllMember.Error | cannot be deleted because usage permission attribute has already been configured: all workspace members. | 无法删除,因为已配置使用权限属性:全部空间成员。 |
| 400 | Delete.WorpspaceAdminPermission.Error | can not delete workspace admin permission. | 无法删除空间管理员的权限。 |
| 400 | Delete.ExistOrganizationRecord.Error | cannot be deleted because there is already an organization authorization record. | 无法删除,因为存在授权给组织内所有用户的记录。 |
| 400 | Work.Not.Exist | The work does not exist. | 作品不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?