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

# Decommission an Unmanaged Device

`POST /v2/itam/unmanaged-device/{nodeId}/decommission`

Decommission an Unmanaged Device with the provided id

## Path parameters

- `nodeId` integer, required

## Response `200`

The Unmanaged Device was successfully decommissioned

## Other responses

- `400` — Request validation failed
- `403` — Insufficient permissions to perform operation
- `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)
