---
title: "Update an Unmanaged Device"
method: PUT
path: "/v2/itam/unmanaged-device/{nodeId}"
tags: ["Unmanaged Devices"]
---

# Update an Unmanaged Device

`PUT /v2/itam/unmanaged-device/{nodeId}`

Update an Unmanaged Device with the provided details

## Path parameters

- `nodeId` integer, required

## Request body

- object
  - `name` string, required — The display name of the device to be updated
  - `orgId` integer, required — The id of the organization the device belongs to
  - `locationId` integer, required — The id of the location the device belongs to
  - `assignedUserUid` string, uuid — The UUID of the user this device is assigned to
  - `warrantyStartDate` number, double — The warranty start date for the device, in unix epoch seconds
  - `warrantyEndDate` number, double — The warranty end date for the device, in unix epoch seconds
  - `assetFields` object — The asset information
    - `serialNumber` string — The SerialNumber to use for the new device
    - `assetId` string — The asset id to use for the new device
    - `assetStatus` string — The asset status to use for the new device
    - `assetPurchaseDate` number, double — The purchase date of the new device
    - `assetPurchaseAmount` number, double — The purchase amount of the new device
    - `assetExpectedLifetime` string — The expected lifetime of the new device

## Response `202`

The Unmanaged Device was successfully updated

## Other responses

- `404` — An Unmanaged Device with the provided nodeId was not found

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/versions/753f26d46650/schema)
