POST api/SoundBox/SetUserBinding
9. 音箱拥有者,修改某个用户对音箱的权限(管理权限和使用权限) 10. 音箱拥有者,添加某个用户对此音箱的管理权限或使用权限 11. 音箱拥有者,移除某个用户对此音箱的管理权限或使用权限
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| entity |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Box2UserBindingId": "d26cdc2c-b349-4262-b6db-8d9e08ef508b",
"UserId": "0e3dc95d-be13-4e17-b0db-3e31041a95bd",
"SoundBoxId": "2a456468-11fe-4df1-9e5a-1d75ed6b7acf",
"UserName": "sample string 4",
"SoundBoxKey": "sample string 5",
"ApplicationStatus": true,
"UserPhone": "sample string 7",
"HeaderUrl": "sample string 8",
"Role": 9
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"Result": 1,
"Message": "sample string 2",
"Data": {},
"Version": "sample string 4"
}