Simulate Device Removal
Simulates removing a device from Seam. Only applicable for sandbox devices. See also Testing Your App Against Device Disconnection and Removal.
Simulates removing a device from Seam.
Code:
await seam.devices.simulate.remove({
device_id: "46757795-11f7-446a-a6cb-779e9f039d7c",
});Output:
// voidSimulates removing a device from Seam.
Code:
curl --include --request POST "https://connect.getseam.com/devices/simulate/remove" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "46757795-11f7-446a-a6cb-779e9f039d7c"
}
EOFOutput:
{}Simulates removing a device from Seam.
Code:
seam.devices.simulate.remove(device_id="46757795-11f7-446a-a6cb-779e9f039d7c")Output:
NoneSimulates removing a device from Seam.
Code:
seam.devices.simulate.remove(device_id: "46757795-11f7-446a-a6cb-779e9f039d7c")Output:
nilSimulates removing a device from Seam.
Code:
$seam->devices->simulate->remove(
device_id: "46757795-11f7-446a-a6cb-779e9f039d7c"
);Output:
Simulates removing a device from Seam.
Code:
seam devices simulate remove --device_id "46757795-11f7-446a-a6cb-779e9f039d7c"Output:
{}Request Parameters
device_id String (Required)
ID of the device that you want to simulate removing from Seam.
Response
void
Last updated
Was this helpful?

