Delete a Device

Delete a Device by its ID

Delete a Device

Deleting a device triggers a device.deleted event and removes the device and all data associated with the device from Seam, including events, access codes, and so on. For every deleted resource, Seam sends a corresponding deleted event, but the resource is not deleted from the provider.

For example, if you delete a device with an access code, Seam sends both a device.deleted event and an access_code.deleted event, but Seam does not remove the access code from the device.

Deleting a device prevents that device from appearing again in your workspace. The only way to recover a deleted device is to delete the entire connected account.

Seam recommends unmanaging a device instead of deleting it.

Delete a device

DELETE https://connect.getseam.com/devices/delete

Delete a single device from your workspace using a device_id

Query Parameters

NameTypeDescription

device_id*

String

Device id

{
  "ok": true
}

Code Example

seam.devices.delete("123e4567-e89b-12d3-a456-426614174000")

Last updated

Logo

Š Seam Labs, Inc. All rights reserved.