Get Users with Asset Access


Get the list of users who have access permission to a specific asset.

Request Format


POST https://{apigw-address}/app-portal-service/v2.2/asset/authorize/user/list

Request Parameters (Body)


Name

Required/Optional

Data Type

Description

assetId

Required

String

The asset ID. How to get asset Id >>

orgId

Required

String

The OU ID which the asset belongs to. How to get OU Id >>

Response Parameters


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_user_id",
            "name": "your_user_name",
            "description": ""
        }
    ]
}