All Products
Search
Document Center

Quick BI:ChangeVisibilityModel

Last Updated:Nov 04, 2025

Modifies the visibility mode of the BI portal menu and whether the menu is only authorized to be visible.

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

Request parameters

ParameterTypeRequiredDescriptionExample
DataPortalIdstringYes

The ID of the BI portal.

0d173abb53e84c8ca7495429163b****
MenuIdsstringYes

The menu ID of the BI portal leaf node.

  • The directory menu cannot be authorized.
  • You can upload multiple parameters at a time. Separate multiple IDs with commas (,). The maximum number of parameters that can be modified at a time is 100.
54kqgoa****,pg1n135****
ShowOnlyWithAccessbooleanYes

Whether only authorization is visible. Valid values:

  • true: Only the authorization is visible.
  • false: Both are visible.
true

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

D787E1A3-A93C-424A-B626-C2B05DF8D885
Resultinteger

The number of menus that are successfully modified.

2
Successboolean

Indicates whether the request is successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
  "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.
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.

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

Change history

Change timeSummary of changesOperation
2023-04-06The Error code has changedView Change Details