Removes a data work from a user's favorites.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:CancelCollection |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorksId |
string |
Yes |
The ID of the data work to remove from favorites. |
5d6ae4e7-cede-43cd-b4d3-d2fd442a9202 |
| UserId |
string |
Yes |
The ID of the user. This is the UserID in Quick BI, not the UID of Alibaba Cloud. |
121344444790**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
7c7223ae-****-3c744528014b |
| Result |
boolean |
Indicates whether the operation succeeded. Valid values:
|
true |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "7c7223ae-****-3c744528014b",
"Result": true,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Workspace.NotIn.Organization | The workspace is not owned by the organization. | |
| 400 | Favorite.NotCancel.Permission | You have not added this work to favorites. | |
| 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.