Welcome to our new portal experience - if you need any assistance or have questions, please click here.

Change the hardware model for a device

Modified on: Tue, 31 Mar, 2026 at 4:08 PM

When we are going to change the hardware model for any device we need use the parameter called "new_hardware" which takes the hardware name as a value.

We can accomplish this by two ways:

1- API call

Let say we have a device (Blade-server1) with a hardware model assigned:

Selection_004.jpg

to change its hardware model we can use the following API call:

curl -X POST -d "name=blade-server1&new_hardware=DD2" -u 'u:p' https://D42_IP/api/device/ --insecure

{
"msg": [
"device added or updated",
115,
"Blade-server1",
true,
false
],
"code": 0
}

Where "DD2" is the new hardware model name, and here is the result:

Selection_005.jpg

2- Excel bulk Import

From the devices page we can select more than one device, then from the drop-down action menu do re-import:

import_devices.png

Create a new column called "new_hardware" and insert the new hardware model name under this column:

Selection_006.jpg

Then save and upload/import this file under: Tools > Imports/Exports (xls)

import-export-excel.jpg

The most important note for both cases that the hardware model must be exist on the system.