Edit Device

The following examples shows how to edit various fields including the tags list, group, contact name and geoposition of a device.

Request

PUT ws/v1/devices/inventory/00000000-00000000-0040FFFF-FF8001B1

Payload

{
  "tags" : ["bad"],
  "group": "NewGroup",
  "contact": "Ryan Reynolds",
  "location": "Rochester, MN",
  "description": "Home Router",
  "geoposition": {
     "coordinates": [
        -90,
         45
     ],
     "type": "Point"
  }
}

Response

{
    "alerts": 0,
    "carrier": "AT&T",
    "channels_uri": "/ws/v1/devices/channels/00000000-00000000-0040FFFF-FF8001B1",
    "connection_status": "disconnected",
    "contact": "Ryan Reynolds",
    "customer_id": 7493,
    "description": "Home Router",
    "firmware_status": "not_identified",
    "firmware_version": "22.5.0.0",
    "geoposition": {
        "coordinates": [
            -90.0,
            45.0
        ],
        "type": "Point"
    },
    "group": "NewGroup",
    "health_status": "unknown",
    "id": "00000000-00000000-0040FFFF-FF8001B1",
    "in_maintenance_window": "yes",
    "last_update": "2022-07-19T19:05:10.870Z",
    "location": "Rochester, MN",
    "mac": "00:40:FF:80:01:B1",
    "maintenance_mode": "off",
    "management_uri": "/ws/v1/devices/management/00000000-00000000-0040FFFF-FF8001B1",
    "metrics_uri": "/ws/v1/devices/metrics/00000000-00000000-0040FFFF-FF8001B1",
    "name": "Deadpool",
    "registration_date": "2022-06-16T21:03:00.000Z",
    "restricted_status": "unrestricted",
    "tags": [
        "bad"
    ],
    "type": "Digi TX64"
}