/updateBee

Method description

End point /updateBee
Description Update GateBEE label
Request method POST
Bearer token Required

Request

RequestParam
Field name Description Type
id Gate identifier Long
label Gate label String
RequestBody
A JSONObject with these fields
Field name Description Type
id BEE identifier Long
name The new BEE name String
sensors A JSONArray representation of the Sensor to update JSONArray
actuators A JSON representation of the Actuators to update JSONArray

Example

{
"id": 4,
"name": "New BEE name"
"sensors": [{
"id": 56,
"name": "New sensor 56 name"
},{
"id": 59,
"name": "New sensor 59 name"
}],
"actuators": [{
"id": 80,
"name": "New actuator 80 name"
},{
"id": 81,
"name": "New actuator 81 name"
}]
}

Response

A JSON representation of the updated Gate