Get Users with Asset Access¶
Get the list of users who have access permission to a specific asset.
Request Parameters (Body)¶
Name | Mandatory/Optional | Data Type | Description |
---|---|---|---|
assetId | Mandatory | String | The asset ID. How to get asset ID>> |
orgId | Mandatory | String | The organization ID which the asset belongs to. How to get organization ID>> |
Response Parameters¶
Name | Data Type | Description |
---|---|---|
data | Data Struct | The user information |
Data Struct¶
Name | Data Type | Description |
---|---|---|
id | String | The user ID |
name | String | The user name |
name | String | The user description |
Error Codes¶
Code | Description |
---|---|
31400 | The structureIds or assetIds are required |
31404 | The structure or asset cannot be found |
Samples¶
Request Sample¶
url: https://{apigw-address}/app-portal-service/v2.2/asset/authorize/user/list
method: POST
requestBody:
{
"orgId":"your_org_id",
"assetId":"your_asset_id"
}
Return Sample¶
{
"code": 0,
"message": "OK",
"data": [
{
"id": "your_usre_id",
"name": "your_user_name",
"description": ""
}
]
}