UpdateDeviceStatusPropertyAsync

Updates device status values attached to the Instance Scope for this folder. Returns (returns a result item for each device status update)

Overview of UpdateDeviceStatusPropertyAsync goes here.

Name Description
folder The folder containing the device to update
deviceKey The key of the device to update
prop The property name to update
statusValue The status value to set
logId Optional log ID for tracking the update
suppressUpdateEvent Whether to suppress update events

Update Device Status Property Async

Example in C#

// Returns: BulkItemResult
var bulkItemResult = await client.UpdateDeviceStatusPropertyAsync(FolderInfo folder, String deviceKey, String prop, Boolean statusValue, Int64 logId, Boolean suppressUpdateEvent);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/device-status/DEVICE.KEY/PROP \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'