Assign LoRaWAN device to a building
POST /controllers/lorawan-assign/{Serial number}/{buidling ID}
Content-Type: application/json
Authorization: Bearer {access_token}
{
"app_key":"A0685DFA*******************19A"
}
{
"controller_reassign": {
"id": 103***,
"controller_id": 32***,
"building_id": 1076,
"floor_id": null,
"space_id": null,
"room_id": null,
"created_at": "2024-04-03 12:58:06",
"deleted_at": null
},
"_links": {
"self": {
"href": "/v1/controllers/lorawan-assign/XJP*********M/1076"
}
}
}