根据门户菜单ID,取消指定用户、用户组的授权记录。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
quickbi-public:CancelAuthorizationMenu |
delete |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DataPortalId |
string |
是 |
数据门户的 ID。 |
0d173abb53e84c8ca7495429163b**** |
| MenuIds |
string |
是 |
数据门户的叶子节点菜单 ID。
|
54kqgoa****,pg1n135**** |
| UserGroupIds |
string |
否 |
用户组 ID 列表。
|
34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32**** |
| UserIds |
string |
否 |
用户 ID 列表。此处为 Quick BI 的 UserID,而非阿里云的 UID。
|
204627493484****,121344444790**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
D8749D65-E80A-433C-AF1B-CE9C180FF3B4 |
| Result |
integer |
取消授权成功的菜单数。 |
2 |
| Success |
boolean |
是否请求成功。取值范围:
|
true |
示例
正常返回示例
JSON格式
{
"RequestId": "D8749D65-E80A-433C-AF1B-CE9C180FF3B4",
"Result": 2,
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Report.NotExist.Error | This work does not exist. It may have been deleted. Work ID is %s. | 作品不存在,可能已经被删除。作品ID:%s。 |
| 400 | Workspace.NotIn.Organization | The workspace is not owned by the organization. | 空间不在组织内。 |
| 400 | AccessMenu.NotMatch.Portal | The menu does not match the BI portal. | 菜单与门户网站不匹配。 |
| 400 | FolderMenu.CanNot.Authorize | The folder type menu cannot be authorized. Menu ID: %s. | 文件夹类型菜单无法进行授权操作,menuId为%s。 |
| 400 | Menu.NotBelongTo.CurrentDataportal | Menu %s does not belong to the current data portal %s. | 菜单%s不属于当前数据门户%s。 |
| 400 | User.NotBelongTo.CurrentOrganization | The user %s does not belong to the current organization. | 用户%s不属于当前组织。 |
| 400 | Usergroup.NotBelongTo.CurrentOrganization | The usergroup %s does not belong to the current organization. | 用户组%s不属于当前组织。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。