How to attach and detach Geofence to Device using API

Riyas4 years ago

Hi,

How to attach and detach Geofence to the device using API

PUT https://<domain>/api/devices/<device_id>

{
  "id": <DeviceID>,
  "name": "Name",
  "uniqueId": "user",
  "geofenceIds": [
    1
  ]
}

Response is OK but it's not attaching

Anton Tananaev4 years ago

Check what the official web app sends.