---
title: "Update node roles"
method: PATCH
path: "/v2/noderole"
tags: ["Node Roles"]
---

# Update node roles

`PATCH /v2/noderole`

Update multiple node roles

## Request body

- object[]
  - `id` integer — Id of the Device Role to update.
  - `name` string — Device Role Name. Must be unique.
  - `description` string — Device Role Description
  - `icon` string — Icon Name of white-listed icon to be used for Unmanaged Device Roles. Should be null for all Managed Device Roles.

## Response `200`

Returns list of created node role

- object[]
  - `id` integer — Id of the Device Role to update.
  - `name` string — Device Role Name. Must be unique.
  - `description` string — Device Role Description
  - `icon` string — Icon Name of white-listed icon to be used for Unmanaged Device Roles. Should be null for all Managed Device Roles.

---

[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/revisions/753f26d46650/schema)
