Checks whether a user has the view permission on data works such as dashboards and workbooks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:CheckReadable |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorksId |
string |
Yes |
The ID of the work. Works include BI portals, dashboards, spreadsheets, and self-service access. |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
| UserId |
string |
Yes |
The Quick BI user ID to check. |
de4bc5f9429141cc8091cdd1c15b**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
boolean |
The execution result of the operation. Valid values:
|
true |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": true,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Report.NotExist.Error | This work does not exist. It may have been deleted. Work ID is %s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.