Update an Unmanaged Device
Updates a specified unmanaged device. To convert an unmanaged device to managed, set is_managed to true.
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.
Updates a specified unmanaged device.
Code:
await seam.devices.unmanaged.update({
device_id: "66c3adbf-a0e5-403a-8981-ec5286b5da76",
is_managed: true,
});Output:
// voidUpdates a specified unmanaged device.
Code:
curl --include --request POST "https://connect.getseam.com/devices/unmanaged/update" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "66c3adbf-a0e5-403a-8981-ec5286b5da76",
"is_managed": true
}
EOFOutput:
{}Updates a specified unmanaged device.
Code:
seam.devices.unmanaged.update(
device_id="66c3adbf-a0e5-403a-8981-ec5286b5da76", is_managed=true
)Output:
NoneUpdates a specified unmanaged device.
Code:
seam.devices.unmanaged.update(device_id: "66c3adbf-a0e5-403a-8981-ec5286b5da76", is_managed: true)Output:
nilUpdates a specified unmanaged device.
Code:
$seam->devices->unmanaged->update(
device_id: "66c3adbf-a0e5-403a-8981-ec5286b5da76",
is_managed: true
);Output:
Updates a specified unmanaged device.
Code:
seam devices unmanaged update --device_id "66c3adbf-a0e5-403a-8981-ec5286b5da76" --is_managed trueOutput:
{}Request Parameters
device_id String (Required)
ID of the unmanaged device that you want to update.
custom_metadata Object
Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.
is_managed Boolean
Indicates whether the device is managed. Set this parameter to true to convert an unmanaged device to managed.
Response
void
Last updated
Was this helpful?

