Rename Device
Modify the device display name for easy identification and management of multiple devices.
Interface Description
Interface Type
renameDeviceParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
deviceId | string | ✅ | Device ID |
deviceName | string | ✅ | New device name (max 18 characters) |
Return Value
javascript
true // Returns true on successful operationBasic Usage
javascript
// Rename device
await apiInvoke('renameDevice', {
deviceId: 'P72578581E07',
deviceName: 'Test Device 1'
});