POST api/SoundBox/SetUserBinding

9. 音箱拥有者,修改某个用户对音箱的权限(管理权限和使用权限) 10. 音箱拥有者,添加某个用户对此音箱的管理权限或使用权限 11. 音箱拥有者,移除某个用户对此音箱的管理权限或使用权限

Request Information

Parameters

NameDescriptionAdditional information
entity

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Box2UserBindingId": "c0e3579c-fa63-40a1-bfea-e0d1cdd34e9f",
  "UserId": "b61f66ed-8b69-489e-915a-3fcbeef72df6",
  "SoundBoxId": "345725db-0e28-4099-8b36-7bef3691f76c",
  "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"
}