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": "abaddb4b-e39c-428f-a73d-5e45b31c378c",
"UserId": "aee181c6-4602-43c2-a347-5404960a0a1c",
"SoundBoxId": "eedc22ce-0b0d-4900-94ef-407712e99ea7",
"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"
}