Update an Unmanaged Device

Update the properties of a specified unmanaged device

Updates the is_managed property of a specified unmanaged device to indicate whether Seam manages the device. An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any access codes on an unmanaged device are unmanaged. To control an unmanaged device with Seam, convert it to a managed device.

Request

Specify the desired unmanaged device by including the corresponding device_id in the request body. In addition, in the request body, include the is_managed property, along with true as the replacement value. Note that setting is_managed to true converts the unmanaged device to a managed device.

Request Body Parameters

ParameterTypeDescription

device_id

String Required

ID of the desired device.

is_managed

Boolean Optional

Replacement value to indicate whether Seam manages the device.

Sample Request

device_id = "882dd63f-db9b-4210-bac2-68372aa0aff7"
unmanaged_device_update = seam.devices.unmanaged.update(
    device = device_id,
    is_managed= True
)

pprint(unmanaged_device_update)

Response

Returns a Boolean ok status indicator (with the exception of the Java SDK).

Sample Response

True

Last updated

Logo

© Seam Labs, Inc. All rights reserved.