All Products
Search
Document Center

Quick BI:CancelAuthorizationMenu

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.

Cancel the authorization records for specified users and user groups based on the portal menu ID.

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:CancelAuthorizationMenudelete
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DataPortalIdstringYes

The ID of the data portal.

0d173abb53e84c8ca7495429163b****
MenuIdsstringYes

The leaf node menu IDs of the data portal.

  • Supports batch parameters, with IDs separated by commas (,). The maximum number for batch modification is 100.
54kqgoa****,pg1n135****
UserGroupIdsstringNo

List of user group IDs.

  • Supports batch parameters, with IDs separated by commas (,). The maximum number for batch modification is 200.
  • UserGroupIds and UserIds cannot both be empty.
34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32****
UserIdsstringNo

List of user IDs. These are Quick BI UserIDs, not Alibaba Cloud UIDs.

  • Supports batch parameters, with IDs separated by commas (,). The maximum number for batch modification is 200.
204627493484****,121344444790****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

Request ID.

D8749D65-E80A-433C-AF1B-CE9C180FF3B4
Resultinteger

Number of menus successfully unauthorized.

2
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": "D8749D65-E80A-433C-AF1B-CE9C180FF3B4",
  "Result": 2,
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400Report.NotExist.ErrorThis work does not exist. It may have been deleted. Work ID is %s.This work does not exist. It may have been deleted. Work ID is %s.
400Workspace.NotIn.OrganizationThe workspace is not owned by the organization.The workspace is not owned by the organization.
400AccessMenu.NotMatch.PortalThe menu does not match the BI portal.The menu does not match the BI portal.
400FolderMenu.CanNot.AuthorizeThe folder type menu cannot be authorized. Menu ID: %s.Folder type menu cannot be authorized or unauthorized,menuId:%s.
400Menu.NotBelongTo.CurrentDataportalMenu %s does not belong to the current data portal %s.menu %s are/is not belong to current dataportal %s.
400User.NotBelongTo.CurrentOrganizationThe user %s does not belong to the current organization.User %s is not belong to current organization.
400Usergroup.NotBelongTo.CurrentOrganizationThe usergroup %s does not belong to the current organization.Usergroup %s is not belong to current organization.

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