Simulate Device Disconnection

Simulates disconnecting a device from Seam. Only applicable for sandbox devices. See also Testing Your App Against Device Disconnection and Removal.

Simulates disconnecting a device from Seam.

Code:

await seam.devices.simulate.disconnect({
  device_id: "a60686b8-f401-452d-9f67-53d139cf6160",
});

Output:

// void
Authentication Methods
  • API key

  • Client session token

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

device_id String (Required)

ID of the device that you want to simulate disconnecting from Seam.


Response

void

Last updated

Was this helpful?