You can call this operation to query the list of works authorized to a user.
Debugging
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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
*All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
UserId | string | Yes | The ID of the user. The user ID is the UserID of the Quick BI, not the UID of Alibaba Cloud. | 46e53****5ba4b679ee22e2a2927**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
"Result": [
{
"Status": 1,
"ThirdPartAuthFlag": 0,
"WorksId": "97f7f4c1-543a-4069-8e8d-a56cfcd6****",
"CreateTime": "1530078690000",
"WorkType": "DATAFORM",
"OwnerName": "w****@aliyun.com",
"WorkspaceName": "Return to Professional Edition\n",
"OwnerId": "74f5527216d14e9892245320ebf2****",
"ModifyName": "13855265****@163.com",
"WorkspaceId": "c5f86ad2-ef53-4c51-8720-162ecfdb****",
"SecurityLevel": "0",
"Description": "Description of the test report\n",
"WorkName": "Test report\n",
"ModifyTime": "1530078690000",
"Directory": {
"PathId": "66ffe22b-83be-47fd-b49d-9ca58d29****/f7f6e22b-83be-47fd-b49d-9ca686a9****",
"PathName": "Level -1 Directory /Level -2 Directory\n",
"Name": "Chart Report\n",
"Id": "f7f6e22b-83be-47fd-b49d-9ca686a9****"
}
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
Your instance has expired. | |||
The specified instance does not exist. | |||
- | |||
The specified organizational unit does not exist. | |||
The specified user is not in the organizational unit. | |||
An internal system error occurred. | |||
An error occurred while verifying parameters. | |||
invalid parameter: ${0}. | |||
The parameter is invalid. | |||
Only organization administrators can perform this operation. | |||
You must specify the %s parameter. | |||
The personal information is invalid. | |||
The specified user does not exist. |
For a list of error codes, visit the Service error codes.