Last Updated on : 2023-07-19 09:52:45download
Based on the user ID and asset ID, authorize the specified user access to multiple assets. You can choose whether the user is authorized access to the asset sub-nodes.
POST: /v1.0/iot-03/users/{uid}/actions/batch-assets-authorized
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
uid | String | uri | true | The ID of the authorized user. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_ids | String | body | true | The set of asset IDs. |
authorized_children | Boolean | body | false | Specifies whether to authorize the user access to sub-nodes. Default value: false . |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. |
POST: /v1.0/iot-03/users/bay1616667080117P***/actions/batch-assets-authorized
{
"result": true,
"t": 1616501326790,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback