post
https://hub.xyte.io/core/v1/organization/devices//split
Detach a shadow device from its primary
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Detach a shadow device from its primary. The shadow becomes a standalone device again.
Authorization
This endpoint requires Authorization.
Path Parameters
| Key | Type | Description | Required |
|---|---|---|---|
| device_id | string | The primary device ID. | Yes |
Request Body
| Key | Type | Description | Required |
|---|---|---|---|
| shadow_device_id | string | ID of the shadow device to detach from this primary. | Yes |
{
"shadow_device_id": "8f2c1e4a-..."
}Response
Returns { "success": true } on success.
{
"success": true
}Errors
| Status | Example | Meaning |
|---|---|---|
| 401 | Not authorized | Missing or invalid Authorization key. |
| 422 | device is not a shadow of this primary | The device is not a shadow of the given primary. |
