patch
https://hub.xyte.io/core/v1/organization/devices/
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Authorization
This endpoint requires Authorization.
Request Body
| Key | Type | Description |
|---|---|---|
| configuration | object | An object containing the configuration of elements of a device. |
| name | string | The display name of the device. |
| device_host_address | string | The host address of the device (e.g. IP address or hostname). |
| sub_model | string | The sub-model identifier of the device. |
| sn | string | The serial number of the device. |
| mac | string | The MAC address of the device (format aa:bb:cc:dd:ee:ff). Requires the device model's allow_mac_edit flag to be enabled. |
| custom_model_name | string | A custom model name override for the device. |
| custom_parameters | object | Edge devices only. Sets the values of the custom parameters declared on the device's device model. Keys are the human-readable parameter labels shown on the device model (for example Port, not {$PORT}). Unknown labels are rejected. Values are propagated to the edge target. |
{
"configuration": {
"a": 0
},
"name": "My Device",
"device_host_address": "192.168.1.100",
"sub_model": "model-v2",
"sn": "SN-12345",
"mac": "00:11:22:33:44:55",
"custom_model_name": "My Custom Model",
"custom_parameters": {
"SNMP community": "public",
"Port": "161"
}
}