API Endpoint: Device

GET

/api/device - get all devices on account

/api/device/1 - get device with id of 1

/api/device?identifier=b60e7c95-d160-439d-8dc6-4c7e1648bd1a - get device on account using device identifier


DELETE

/api/device/1 - delete/unpair device with id of 1


PATCH

/api/device/1 - patch (update) device with id of 1

When using PATCH only the supplied values are updated. If for example you supply no value for the device name, it will not change within remote management. Include json in the request body as per examples below:

Propertiesdevicegroupid (int), name (string), updateoverrideurl (bool), overrideurl (string)

Update all properties:
{\"devicegroupid\":3,\"name\":\"My Device Name\",\"updateoverrideurl\":true,\"overrideurl\":\"http://www.google.com\"}
Update only Device Group ID:
{\"devicegroupid\":3}
Update Device Override Kiosk Url Only:
{"updateoverrideurl\":true,\"overrideurl\":\"http://www.google.com\"}
Clear Device Override Kiosk Url Only:
{"updateoverrideurl\":true,\"overrideurl\":null}
Update Device Name only:
{\"name\":\"My Device Name\"}

When the Url is changed, the change is automatically pushed to the device.

Is this article helpful for you?