Device Assignment
Unassign Devices from Owner
Unassign multiple devices from a single customer
POST
Documentation Index
Fetch the complete documentation index at: https://docs.telemetron.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Removes multiple device-to-customer assignments in a single request. This is the bulk variant for unassigning devices — use this when removing several devices from the same customer at once. Both the device and customer records remain in the system; only the associations are removed.Authentication
Your organization’s API key
Request Body
The email address of the customer to unassign devices from. Must be a valid email format.
Array of device identifiers (e.g., serial numbers, MAC addresses) to unassign. Must be a non-empty array.
Response
Indicates if the operation was successful
Description of the operation result
The unique identifier of the customer
Array of device identifier strings that were successfully unassigned
Array of device identifier strings that were not assigned to this customer (no-op)
Full list of device identifiers still assigned to the customer after the operation
Examples
Bulk Unassignment
Response
Status Codes
| Code | Description |
|---|---|
| 200 | Devices successfully unassigned from customer |
| 400 | Invalid request (missing required fields or empty array) |
| 401 | Invalid or missing API key |
| 404 | Customer not found in your organization |
| 500 | Internal server error |
Implementation Notes
- Non-destructive: Customer and device records persist; only the assignments are removed
- Partial success: The response details which devices were unassigned vs. skipped, so you can handle each case
- Skipped devices: Devices not currently assigned to the customer are returned in the
skippedarray - Remaining devices: The
devicesRemainingarray shows the full list of devices still assigned after the operation
Common Use Cases
- Bulk device returns: Unassign all returned devices from a customer in one call
- Account decommissioning: Remove all device assignments when closing a customer account
- Fleet reassignment: Unassign devices from one owner before reassigning to another