Update Device

Update configurations on a device.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Authorization

This endpoint requires Authorization.

Request Body

KeyTypeDescription
configurationobjectAn object containing the configuration of elements of a device.
namestringThe display name of the device.
device_host_addressstringThe host address of the device (e.g. IP address or hostname).
sub_modelstringThe sub-model identifier of the device.
snstringThe serial number of the device.
macstringThe 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_namestringA custom model name override for the device.
custom_parametersobjectEdge 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. This replaces the complete set — any parameter omitted from the request is reset to an empty value (see the note below). 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"
  }
}

Custom parameters are replaced as a complete set
Each Update Device request that includes custom_parameters rewrites the device's entire set of custom parameters. Any parameter declared on the device model but not included in the request is reset to an empty value. Always send every custom parameter you want to keep — not just the ones you are changing. To read the current values first, use Get Device.

Path Params
string
required

The device ID.

Body Params
string
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json