Bool deletedevices(int[] deviceids) – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 138

Advertising
background image

126

not positive, then the method will return the maximum allowed number of objects. Attempting to request more
objects than is allowed will lead to the same result, but without an error.

bool DeleteDevices(int[] deviceIds)

Description
Deletes the specified

Device

instance(s) and releases the associated

DeviceSubscription

instance(s), allowing them to

be reassigned. This operation returns True only if it is completely successful. Otherwise, it returns False.

Note: If the physical device associated with a deleted Device instance reconnects to the BrightSign Network, the
instance will be restored, but without the DeviceSubscription instance that was previously assigned to it.

Required Permissions
Device: Delete Device

Parameters

[int[]] deviceIds: An array of identifiers corresponding to the Device instance(s) that should be deleted. The
number of passed items is limited to 100 by the server. Attempting to delete more than the allowed number of
objects will result in an error. Passing an array containing a Device

[int] Id value that does not correspond to

an existing Device instance will also result in an error. Passing an empty array will lead to an immediate False
response without an error.

Advertising